A hard reset is different than a master reset. Hard reset only entails removing the battery from the device.
To answer your question, once flashed with a ROM, performing a MASTER reset, will bring the phone back to "factory" defaults, i.e. just like it was the very first time you booted it...