LRP
You can remember how you died if you are revived by a defibrillator as long as there is no other reason why you wouldn’t be allowed to remember your death, such as being unconscious.
MRP
MRP rules specifically address defibrillation memory in the metagaming rules.