24Verily, verily, I say unto you, He that heareth my word, and believeth on him that sent me, hath everlasting life, and shall not come into condemnation; but is passed from death unto life. 25Verily, verily, I say unto you, The hour is coming, and now is, when the dead shall hear the voice of the Son of God: and they that hear shall live.
26 For as the Father hath life in himself; so hath he given to the Son to have life in himself; 27And hath given him authority to execute judgment also, because he is the Son of man. 28Marvel not at this: for the hour is coming, in the which all that are in the graves shall hear his voice, 29And shall come forth; they that have done good, unto the resurrection of life; and they that have done evil, unto the resurrection of damnation.
John 5:24-29
The two references are prophecies foretelling two resurrections: one to life only and another, a general resurrection of both to life and to damnation. The second, general, resurrection awaits its hour; it is future. The first resurrection is for the saved, and the hour is not only coming but now is; it spans from Christ Jesus’ resurrection to the resurrection at the end of the Tribulation.
The Book of Revelation also shows the two resurrections.
Revelation 20:4-6 And I saw thrones, and they sat upon them, and judgment was given unto them: and I saw the souls of them that were beheaded for the witness of Jesus, and for the word of God, and which had not worshipped the beast, neither his image, neither had received his mark upon their foreheads, or in their hands; and they lived and reigned with Christ a thousand years. 5But the rest of the dead lived not again until the thousand years were finished. This is the first resurrection. 6Blessed and holy is he that hath part in the first resurrection: on such the second death hath no power, but they shall be priests of God and of Christ, and shall reign with him a thousand years.
Verse 4 represents the last part of the first resurrection, those who did not take the mark or worship the Beast. The first resurrection ends before the millennial reign of Christ on earth; the second takes place at the end of the millennial reign.
The first resurrection began with the resurrection of Christ Jesus himself.
Acts 26:23 That Christ should suffer, and that he should be the first that should rise from the dead, and should shew light unto the people, and to the Gentiles.
1 Corinthians 15:20 But now is Christ risen from the dead, and become the firstfruits of them that slept.
1 Corinthians 15:22-23 For as in Adam all die, even so in Christ shall all be made alive. 23But every man in his own order: Christ the firstfruits; afterward they that are Christ’s at his coming.
Colossians 1:18 And he is the head of the body, the church: who is the beginning, the firstborn from the dead; that in all things he might have the preeminence.
Revelation 1:5 And from Jesus Christ, who is the faithful witness, and the first begotten of the dead, and the prince of the kings of the earth. Unto him that loved us, and washed us from our sins in his own blood,
The first resurrection began with Jesus Christ, the first to be resurrected unto eternal life. There were other resurrections, but they were not unto eternal life; they died again. The second part of the first resurrection is the pre-tribulation Translation of the Church, or the Rapture.
1 Thessalonians 4:16-17 For the Lord himself shall descend from heaven with a shout, with the voice of the archangel, and with the trump of God: and the dead in Christ shall rise first: 17Then we which are alive and remain shall be caught up together with them in the clouds, to meet the Lord in the air: and so shall we ever be with the Lord.
The last part of the first resurrection is at the end of the Tribulation, those who did not take the mark, Revelation 20:4-6 above. The second resurrection is the Great White Throne Judgment at the completion of the millennial reign of Christ Jesus.
Revelation 20:11-13 And I saw a great white throne, and him that sat on it, from whose face the earth and the heaven fled away; and there was found no place for them. 12And I saw the dead, small and great, stand before God; and the books were opened: and another book was opened, which is the book of life: and the dead were judged out of those things which were written in the books, according to their works. 13And the sea gave up the dead which were in it; and death and hell delivered up the dead which were in them: and they were judged every man according to their works.
It must be remembered that during the millennial reign and beyond, there is no salvation by faith in Christ Jesus; He is sitting on the throne in Jerusalem, ruling the world; salvation is now based on works. Whether those works are based on the content of your heart’s desire would be a salient question.