The whole idea of resurrection comes from Egypt and its two fold. One when one dies he goes to the underworld where he has to go be judged and his heart condition weighed. If he’s guilty of sin his heart is eaten and his spirit goes to the lake of fire the second death. If he’s sinless then he goes on to paradise to live and work with his family the Greeks called it Elysian, the Egyptians named it the Field of reeds.
The second part had to do with your life or likeness being reborn in to your offspring this is one of the reasons for the word resurrection from the root word erection.