In Dan,10:21, the angel (most likely Gabriel) starts to tell Daniel about the writing of truth and of his very close association with Michael (the Archangel), in fighting the angelic forces, prevailing at the time of telling, and proceeds to relate yet future narrative regarding the nations of Persia, Greece, Egypt and Syria, from the likes of Xerxes, and Alexander the Great, and through to the life and death of Antiochus IV.
Then, in Dan, 12:1, we learn that Michael, that great prince, who stands guard over the sons of Daniel's people, will arise. A time of great distress will ensue and at that time Daniel's people ...everyone who is found written in the book, will be rescued.
The following verse then goes on to say:-
"And many of those who sleep in the dust of the ground will awake, these to everlasting life, but the others to disgrace and everlasting contempt." Dan, 12:2 NASB.
Now we, ourselves, in this modern day, know that Daniel's people experienced extreme distress in and around 70 AD, not long after the death and subsequent resurrection of Jesus.
Let us now look at Matthew 27:52,53 NASB
... and the tombs were opened; and many bodies of the saints who had fallen asleep were raised; and coming out of the tombs after His resurrection they entered the holy city and appeared to many.
After Jesus yielded up His spirit and the veil of the temple was torn in two from top to bottom, and the earth shook; and the rocks were split, come these verses 52 and 53. Now we have both Daniel and Matthew referencing a resurrection of peoples, which may well refer to the same point in time. One referring to the time where we note the arise of Michael, the great prince, and the other referring to the time of that other great prince, namely Jesus, and Jesus' death and subsequent resurrection. He being the "firstfruits" of them that slept.
What are we to truly discern here? For one thing:- Could Michael (meaning - Who is like God) and Jesus (who is the Son of God) be one and the same? When answering, one should be keeping in mind that the bible only talks of two great resurrections, the resurrection of Lazarus aside. Please also note the following:-
"Do not marvel at this; for an hour is coming, in which all who are in the tombs shall hear His voice, and shall come forth; those who did the good deeds to a resurrection of life, those who committed the evil deeds to a resurrection of judgement." John 5:28,29 NASB. Compare Rev, 20:4-15.