Stephen Hawking has concluded in his book "The Grand Design": "So it seems that we are no more than biological machines and that free will is just an illusion." [1]
Machines don't have afterlife. So, enjoy every moment you live right now! :)
[1] http://www.huffingtonpost.com/deepak-chopra/stephen-hawkings...