and will come out; those who have done good, to the resurrection of life; and those who have done evil, to the resurrection of judgment.

 In this passage John seems to use the word dead in two senses. 