The MacBook has a battery which keeps PRAM intact, but not a battery which keeps the RAM powered up while you switch the battery while sleeping without AC power.
This is unlike the PowerBook G4 - where you could change the battery while the computer was asleep, without losing the contents of RAM, which would require a reboot.
This is where the Intel Mac's 'hibernate mode' comes in. If the battery is removed, while the computer is asleep AND without AC power, the contents of RAM are lost. BUT, the restart after replacing the battery is much quicker than a reboot, because it reloads the RAM from the disk file it produced when entering sleep mode.
Quad G5, PB 15" 1.5Ghz,MacBook 2.0GhzCore2Duo Mac OS X (10.4.10) Logic Pro 7.2.3, Focusrite Saffire...