Do not marvel at this, for an hour is coming when all who are in the tombs will hear his voice and come out, those who have done good to the resurrection of life, and those who have done evil to the resurrection of judgment.
John 5:28-29

This will be a resurrection for both the good and the evil. It's what happens after the resurrection that counts. Beyond "in or out", we will not be judged on our beliefs or attitudes, but on our deeds.