28 Do not be amazed at this, for the hour is coming in which all those in the memorial tombs will hear his voice 29 and come out, those who did good things to a resurrection of life, and those who practiced vile things to a resurrection of judgment.
Before he raised Lazarus and Jairus' daughter from the dead, he said:
11 After he said these things, he added: “Lazʹa·rus our friend has fallen asleep, but I am traveling there to awaken him.” 12 The disciples then said to him: “Lord, if he is sleeping, he will get well.”* 13 Jesus, however, had spoken about his death. But they imagined he was speaking about taking rest in sleep. 14 Then Jesus said to them plainly: “Lazʹa·rus has died,
38 So they came to the house of the presiding officer of the synagogue, and he saw the commotion and those weeping and wailing loudly. 39 After stepping in, he said to them: “Why are you weeping and causing this commotion? The child has not died but is sleeping.” 40 At this they began to laugh at him scornfully. But after sending them all outside, he took the child’s father and mother and those with him, and he went in where the child was. 41 Then, taking the hand of the child, he said to her: “Talʹi·tha cuʹmi,” which, when translated, means: “Little girl, I say to you, get up!” 42 And immediately the girl rose and began walking. (She was 12 years old.) And at once they were beside themselves with great ecstasy. 43 But he ordered them again and again to let no one learn of this, and he said that something should be given her to eat. Mark 5:38-43
The resurrection of Jairus' daughter was reported by THREE gospels - Matt 9; Mark 5, and; Luke 8.
From these accounts it is obvious that death is like a sleep from which only God, through Jesus.can awaken them. And as John 5 states, he will, for the righteous and the unrighteous.