The Physics of Immortality: Modern Cosmology, God and the Resurrection of the Dead