Zombie resurrections belong to The Sims 2 and its University expansion, not the original game. If you're playing the first Sims and a household member dies by accident, your only real option is to beg for their life.
When the Grim Reaper arrives, click him and choose "Plead for Loved One" — and make sure it's a Sim the deceased actually had a good relationship with, or he won't listen. Your Sim then pleads, the Reaper nods, and the Sim picks a number from 1 to 100 entirely on their own.
Pick right and your Sim cheers while the Reaper lifts the body and returns it to the ground, alive, leaving a "Saved from Death" memory. Pick wrong and he shakes his head, finishes the ceremony, and the tombstone appears — with the whole family carrying a "[Name] Died" memory.
Happy Simming!
~Rachel