I don't think it is that simple. With the death of the body, the energy that compelled the body still exists. Maybe there is no longer a conscious awareness of the energy, as there was when there was a form, but as energy can neither be created or destroyed your energy would still technically exist in the universe even after death.
It is arguable that the continued existence of your energy is an afterlife in and of itself even if it would be to your consciousness as an "endless void".
jmho