You should always turn the A/C off before you shut the engine down. This gives it time to warm the piping and ducting back up so it does not pool corrosive condensation.
I'm sure the majority of the people do not do this, but it will greatly extend the longevity of all the components involved!