Also, when people say things like "If there is no God, then life has no meaning" are not only wrong, but they have it backwards.
If there is a God, and therefore all life is eternal (be it in Heaven or Hell) then therefore the life on this Earth essentially becomes meaningless, because the extended life beyond this Earthly one is infinite, and therefore infinitely longer, and therefore infinitely greater.
If there is no God, and therefore all life is finite then life on this Earth becomes important due to it being finite.
Infinite life, then, becomes valueless life, and finite life, then, becomes valuable life.
Note: Obviously the above line of reasoning only apply to religions that posit infinite, corporal life.
Hence why religions that speak of living forever in Heaven in any corporal way (only really Islam and Christianity) do not have afterlife solutions that are logical, or make sense, or even desirable (as Seth alluded to)