Are you referring to v.2 Multitudes who sleep in the dust of the earth will awake: some to everlasting life, others to shame and everlasting contempt.Actually, if we read of the resurection of Daniels people in Daniel 12, we find those who are resurrected at that time are both righteous and those who appear to be wicked. They are both raised at the same time. Not 1000 years apart.
What this verse doesn't say is that they occur together. Paul made the same point in 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.
So yes, there will be 2 resurrections, one for the saved and one for the unsaved.
The FIRST resurrection is for the saved, as Rev 20:5 says. Those who will be resurrected 1,000 years later will be for the unsaved.The resurection which takes place 1000 years after Daniels people are of a different people.
The issue of "good and bad" refers to reward or lack of it for the saved and how "tolerable" it will be for the unsaved in the lake of fire.All of Daniels people who's names are written are raised at the same time. Those who have done good and those who have done bad.
Salvation is not based on works in any way.