What is the relationship between eternal judgment and the concept of the afterlife?

Eternal judgment and the afterlife