I was taught that when I worked for Chrysler that it was to discharge any capacitive charges in the system. We'd do that especially when replacing air bags. We'd go so far as to turn on the lights, honk the horn, hit the brakes... pretty much anything to get it all dissipated. It's the same idea for resetting the ECU since it turns any leftover "ones" in the computer to "zeros".