1) a spiritual resurrection of the saints. 2) a bodily resurrection of these same saved saints. 3) a resurrection of the rest of the dead after the thousand years who are raised in order to be judged and sentenced to the LOF. Keeping in mind, the LOF = the 2nd death. And according to the text, verse 6, only those that have part in the first resurrection, the 2nd death has no power over them.
Which means once they rise from the dead they can't die anymore. Vs the 2nd death which means can still die again. But even if you think ECT is the case instead, it doesn't matter. Only those that have part in the first resurrection escape the 2nd death. Obviously, anyone raised after the thousand years are excluded, otherwise they would have lived and reigned with Christ a thousand years. Can't do that if you were counted among the rest of the dead during the first resurrection, therefore, don't live again until after the thousand years. Can't reign with Christ a thousand years when the thousand years would be in the past when the rest of the dead live again.
Read verse 6 again if still hasn't sunk in. Every single person where the 2nd death has no power over them, they reign with Christ a thousand years.