Conditions for Clearing the DTC
WARNING: This page is about a different car, the 2004 Pontiac Grand Prix. However, it is still accessible from the selected car via links, so may be relevant.
The current DTC will clear whenever the diagnostic feedback to the BCM indicates that the fault no longer exists.