Default [Q] Flashing stock ICS firmware to GT-i9100

Will the build.prop be put back to normal (after I messed around with it) if I flash a stock ICS ROM to my phone, and it is safe to flash a stock ROM with an edited build.prop?