How about we read ALL of v.1 and 2.
1 “
At that time Michael, the great prince who protects your people,
will arise.
There will be a time of distress such as has not happened from the beginning of nations until then. But at that time your people—everyone whose name is found written in the book—will be delivered.
2 Multitudes who sleep in the dust of the earth will awake: some to everlasting life, others to shame and everlasting contempt.
The red words refer to the angel Michael arising, which will be BEFORE the tribulation, as the blue words show. But there will NOT be any resurrection before the tribulation.
v.2 is simply a statement about there being 2 resurrections; for for the saved and one for the unsaved.
Here are 2 verses that show the same thing:
John 5:28,29
28 “Do not be amazed at this, for a time is coming when all who are in their graves will hear his voice
29 and come out—those who have done what is good (the saved) will rise to live, and those who have done what is evil {the unsaved) will rise to be condemned.
First, this isn't about lifestyle, since salvation is about faith in Christ. Second, it says only "a time is coming". That refers to the fact that both resurrections will occur. It doesn't say they will occur together.
Acts 24:15 - and I have the same hope in God as these men themselves have, that there will be
a resurrection of both the righteous and the wicked. iow, one resurrection for the saved and one for the unsaved.
Here are 2 verses that prove that these 2 resurrections cannot be at the same time:
1 Cor 15:23 - But each in turn: Christ, the firstfruits; then, when he comes, those who belong to him.
This is clear: all believers (those who belong to Him) will be resurrected "when He comes" which is the Second Advent.
Rev 20:5 - (The rest of the dead did not come to life until the thousand years were ended.) This is the first resurrection.
v.4 establishes the context for this "first resurrection", which is the martyrs of the tribulation. And since all believers will be resurrected "when He comes" it is clear that v.4 will be the time of the Second Advent.
So, the parenthesis in v.5 refers to all unbelievers, who will have their own resurrection 1,000 years later. And what occurs at the end of the Millennial reign of Christ? The GWT judgment, which is for all the unsaved.
So, there you have it. 2 resurrections, one for the saved, and one for the unsaved. 1,000 years apart.