The Resurrection of the Good and Bad
The resurrection of the righteous and wicked is mentioned by Jesus at John 5:28-29 and by the prophet Daniel at Daniel 12:2.
To see about the state of the dead see: The Soul and Spirit
If we go by the surrounding timeline of events in Daniel, the resurrection happens after the standing up of Michael (Many believe that Michael is Jesus (Yeshua)) and the destruction of the king of the north. This is a time when the knowledge of Yahweh becomes abundant. This would also correlate to after the destruction of the opposers of God’s (Yahweh’s) incoming kingdom rule, as mentioned in Revelation 19:11-21, Daniel 2, and Psalms 2. See What happens with Jesus’ coming?
It is important to remember that Yahweh doesn’t delight in the destruction of the wicked, as mentioned in Ezekiel 18. He desires the bad to turn to doing good – To be saved. This appears to be a primary reason for those asleep in death, to be brought back to life – To learn about Yahweh and turn around to doing good. The good will naturally receive rewards, as the end of Daniel (Daniel 12:13) shows us by what is told to Daniel.
Interestingly, Isaiah 65 indicates that someone could be 100 years old yet appear as a child and Revelation 21 shows how previous death is done away with upon the arrival of God’s kingdom.
Regarding those resurrected who choose a wicked course over a righteous one, it appears that if they do not die during Christ’s day of Judgement, they probably will at the end of the 1,000 years with a final test as mentioned in Revelation 20:7-10. There’s no resurrection from that type of death as symbolized in Revelation as a lake of fire. The devil and his angels are tormented by knowing that their future will be permanent destruction, as symbolized by the lake of fire, and are doing everything in their power to drag humanity down with them.
There should be no fear for a truly righteous one to think that they would turn to practicing evil and lose Yahweh’s favor. So much is based upon the heart condition. One will follow their true heart. This will be evident in one’s actions over a course of time. There’s tremendous wisdom in Jesus’ simple yet strong words to love God and neighbor at Matthew 22:37-39.
21 For as the Father raises the dead and gives them life, even so the Son also gives life to whom he desires.
19 Jesus answered them, “Destroy this temple, and in three days I will raise it up.”
20 The Jews therefore said, “It took forty-six years to build this temple! Will you raise it up in three days?” 21 But he spoke of the temple of his body.
17 Therefore the Father loves me, because I lay down my life, Isaiah 53:7-8 that I may take it again. 18 No one takes it away from me, but I lay it down by myself. I have power to lay it down, and I have power to take it again. I received this commandment from my Father.”
This is an interesting passage. Apparently, Christ had the authority to raise himself. But the command from him had to come before he died. The dead are “asleep, unconscious.” How long before Lazarus came back to life did Christ have to say the words? The power to raise the dead seems to be not restricted by time of command.
23 how the Christ must suffer, and how, by the resurrection of the dead, he would be first to proclaim light both to these people and to the Gentiles.”
21 “But if the wicked turns from all his sins that he has committed, and keeps all my statutes, and does that which is lawful and right, he shall surely live. He shall not die. 22 None of his transgressions that he has committed will be remembered against him. In his righteousness that he has done, he shall live. 23 Have I any pleasure in the death of the wicked?” says the Lord Yahweh; “and not rather that he should return from his way, and live?
28 Don’t marvel at this, for the hour comes in which all who are in the tombs will hear his voice, 29 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.
45 He will plant the tents of his palace between the sea and the glorious holy mountain; yet he will come to his end, and no one will help him.
12 “At that time Michael will stand up, the great prince who stands for the children of your people; and there will be a time of trouble, such as never was since there was a nation even to that same time. At that time your people will be delivered, everyone who is found written in the book. 2 Many of those who sleep in the dust of the earth will awake, some to everlasting life, and some to shame and everlasting contempt. 3 Those who are wise will shine as the brightness of the expanse. Those who turn many to righteousness will shine as the stars forever and ever. 4 But you, Daniel, shut up the words, and seal the book, even to the time of the end. Many will run back and forth, and knowledge will be increased.”
13 “But go your way until the end; for you will rest, and will stand in your inheritance at the end of the days.”
20 There shall be no more thence an infant of days, nor an old man that hath not filled his days; for the child shall die a hundred years old, and the sinner being a hundred years old shall be accursed.
2 I saw the holy city, New Jerusalem, coming down out of heaven from God, prepared like a bride adorned for her husband. 3 I heard a loud voice out of heaven saying, “Behold, God’s dwelling is with people, and he will dwell with them, and they will be his people, and God himself will be with them as their God. 4 He will wipe away every tear from their eyes. Death will be no more; neither will there be mourning, nor crying, nor pain, any more. The first things have passed away.”
7 And after the thousand years, Satan will be released from his prison, 8 and he will come out to deceive the nations which are in the four corners of the earth, Gog and Magog, to gather them together to the war; the number of whom is as the sand of the sea. 9 They went up over the width of the earth, and surrounded the camp of the saints, and the beloved city. Fire came down out of heaven from God and devoured them. 10 The devil who deceived them was thrown into the lake of fire and sulfur, where the beast and the false prophet are also. They will be tormented day and night forever and ever.
37 Jesus said to him, “‘You shall love the Lord your God with all your heart, with all your soul, and with all your mind.’(Deuteronomy 6:5) 38 This is the first and great commandment. 39 A second likewise is this, ‘You shall love your neighbor as yourself.’(Leviticus 19:18)