I think Judaism is very much more about this life than the next, there's very little focus on the afterlife as a means of punishment & reward. But if you're very bad you won't get to rise up and live again in the perfected world that will come when the messiah finally shows up.
So the very bad people simply die and remain dead forever, physically and spiritually?