Well, you could in theory live forever if you transitioned your consciousness into a computer. It will soon be possible to simulate a human brain in a computer (see the Blue Brain project http://bluebrain.epfl.ch). Philosophical issues aside, you can effectively live forever this way as long as human civilization is able to continue getting resources and energy to power the computers.