2 And many of them that sleep in the dust of the earth
shall awake, some to everlasting life, and some to shame and everlasting
contempt.
This verse is talking about the first and the last resurrections. "And many of them that sleep in the dust of the earth shall awake," here is a pre-written reference for Apostle Paul in (1 Cor 15: 15-54).
“Some to everlasting life” For this is the first resurrection called resurrection of the Just/Righteous, for the partaker in this resurrection are to wake up into everlasting life as in (Rev 20:6) and “some to shame and everlasting contempt.” Here talks about the second resurrection, called resurrection of the dammed to wake up into shame and everlasting contempt as in (Rev 20:14, 21:8,) for those that took part in the first resurrection, the second death has no power.