When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
I've reset my codes in a matter of 30 seconds when I've gotten them by disconnecting the battery so I don't think that's the case. If you want you can try cycling the key a few times with the cable disconnected and it will drain any power out of the PCM that it may be holding onto.