It may reset the light for a couple of seconds, but every car since 1996 is OBD II and much smarter than the older OBD I cars. That is actually how to reset the light on 1995 and older is to just disconnect the battery for 30 seconds. Not now a days... The codes get stored into Memory and Pending codes on newer cars. This is why here in Cali, if a mechanic turns off the light with a scan tool and drives it to the smog station it will still fail. The smog equipment used has the capability to see that the light has just been turned off and the problem still exsists. Got to love and hate technology!
^that is not completely true, leave that ecu unplugged (via battery, via cables, whatever) for a few minutes, plug it in (and maybe do it again a few times more) and no stored codes will remain. At least from my experience.