This is something I have been thinking for sometime now, about what exactly happens after death and my understanding is we go into nothingness just like how we were before we were born. Then I started wondering whether a part of brain can be kept alive even after our death so that atleast we can keep recollecting our memories just like we do when we are dreaming.
Interestingly, I stumbled upon this thread and it seems possible

http://www.kurzweilai.net/chemical-brai ... sonal-view" onclick="window.open(this.href);return false;