It shouldn't. Action Replay devices modify values in memory while a game runs; they don't write over your save file under normal use.
If something does go wrong, power the console off and turn it back on. A corrupted-looking save after a cheat session is usually a temporary state rather than permanent loss.
Two habits reduce the risk: don't remove the cartridge or disc while the device is active, and back up important saves if your hardware allows it. Codes that touch save data directly are the ones to be careful with.