I have had computers turn off check engine lights after a successfull test, but most of them are newer vehicles or had to do with the evap system on our cars (like the gas cap will throw a light and after tightening it the CEL will eventually go out).
I know from experience you can get our cars state inspection ready within 3-5 miles of driving one trip approx. 50 - 60 mph with a constant light gas pedal.
So if you are going to clear the check engine light, those initial computer tests will have to be performed before the computer will test the egr. Then, its a waiting game.