depends if the dead are sentient, the average zombie won't notice much.
or you could go full canadian and kill yourself in a way you can't be resurrected.
Any necromancer worth is salt knows this. Ghoul is the economical choice. I haven't told a wizard game story in a while but this reminded me of one.
There was a point where the DM wanted to run time travel shit, which doesn't exist in pathfinder so sky's the limit for his homebrew. It all started when my necromancer got a communication on the magic nexus we all used and received a mysterious offer of rewards and treasure for a simple task. Being the 7 wisdom idiot he is, he immediately got excited for what was very obviously a magical scam email and pulled the party from their various bullshit to go to said location.
Long story short, the party encountered the "time dragon" which told us that our continued irresponsible fuckery was going to doom the world and that it was going to kill us. After a short back and forth where we activated or victim complex, questioned/mocked the existence of a time dragon and threatened litigation in a realm that we were currently fugitives from we got into a pretty nasty fight. I think we were supposed to die but we spammed wall of force and used various bullshit 3.5 era magic tactics to weasel out a victory. It was close though, our evoker ended up dropping the thing with a cantrip. From there we received "Time Scales" and were approached by not Doc Brown asking for them. I think he was nice to us and said he was working on a time machine so we have them to him, which was kind of uncharacteristic of the party. We were exceptionally greedy. I'm sure we had some other reason.
In the background our DM simply had to wait until we came up with some kind of stupid project that would cascade into ruining the world. Took him maybe six or seven sessions and I honestly think he'd just keep running the game until he saw an opening. At some point he introduced some magical rock that could cast spells automatically, carving cantrips in it was completely free. Since the theme of the game was taking things as far as we could take them, one thing lead to another and we at some point had been informed that through the series of automatic cantrips we had created not Skynet. This was accepted as the time dragon's reason for trying to kill us in the first place. The fact that it should have predicted that we would kick it's ass was not lost on us.
By now not Doc Brown had completed his time machine, realized the future was fucked and showed up to ask the party for help as the machines were taking over. Long story short our past selves proved to be as unreasonable as our current selves and since we were a couple levels higher our past selves died. I don't write the rules on time travel and paradoxes, now that I think of it this has some unresolved problems and since my game takes place in the same game world maybe I'll have alternate universe Skynet show up. That's besides the point though. The point is that the abjurer and I brought our own corpses back with us which is pretty cool.
Out of game I stepped outside with the abjurers for a smoke (prime scheming time) and through my short sighted scheming decided the best course of action was to raise ourselves as Juju Zombies. They retain all their memories, class levels etc. Essentially it was a way to increase the amount of spells we could cast by a shitload. At the very least when we would get distracted by "going on adventure" and "respecting the work the DM put into the game" we could still have our undead selves use magic to do whatever we wanted. We immediately decided it was a flawless plan and that nothing could go wrong.
It obviously did. In fact it says right in the Juju Zombie description that they hate their creators more than anything and I'll just straight up admit I didn't read the description. DM sure did. They proceeded to bully us for a while and escaped shortly after to work on a Juju party with the plans of creating a Juju world. Whenever we could encounter them they would utter the phrase, "Juju is better..."
But that's a story for another time.