when you die, there is a period of time where you are kind of unconscious due to you not actually being dead. to die your brain has to be incapable of working, this happens when it doesn't have any oxygen or nutrients for a certain amount of time. if you can be revived without brain damage, all that happened was your heart stopped working and your brain went into hibernation.