Note that in this passage only those who “do good” shall be involved in the resurrection of life, and those who “commit bad things” get the resurrection of "judging". Paul is not saying this "judging" is referring to being eternally condemned. So what does he mean?
Doing "good" is to hear and have faith in what God the Father says to humanity through His Son Jesus. Jesus is coming again to this Earth, soon it seems to me, to reign over this present Earth for one thousand years. When He comes those who have heard and believed what God says through His Son (do good) will be resurrected to reign with Him during that thousand year reign. Those who "commit bad things" (do not hear and have faith in what God the Father says to humanity through His Son Jesus) must wait to be resurrected one thousand years later. Then they will appear before the Great White Throne and be judged, die the second time, and be "vivified" (given immortality). Death is finally abolished for all humanity. At the Great White Throne, all will hear and have faith in what God says through His Son.
"...they also live and reign with Christ a thousand years. (The rest of the dead do not live until the thousand years should be finished.). This is the former resurrection. Happy and holy is he who is having part in the former resurrection! Over these the second death has no jurisdiction, but they will be reigning with Him the thousand years." (Revelation 20:5-6)
"And I perceived a great white throne, and Him Who is sitting upon it, from Whose face earth and heaven fled, and no place was found for them. And I perceived the dead, the great and the small, standing before the throne. And scrolls were opened. And another scroll was opened which is the scroll of life. And the dead were judged by that which is written in the scrolls in accord with their acts. And the sea gives up the dead in it, and death and the unseen give up the dead in them. And they were condemned, each in accord with their acts. And death and the unseen were cast into the lake of fire. This is the second death-the lake of fire. And if anyone was not found written in the scroll of life, he was cast into the lake of fire." (Revelation 20:11-15)
"For even as, in Adam, all are dying, thus also, in Christ, shall all be vivified" ... "He must be reigning until He should be placing all His enemies under His feet. The last enemy is being abolished: death. For He subjects all under His feet. Now whenever He may be saying that all is subject, it is evident that it is outside of Him Who subjects all to Him." Now, whenever all may be subjected to Him, then the Son Himself also shall be subjected to Him Who subjects all to Him, that God may be All in all." (1 Corinthians 15:22,25-28)
"...that in the name of Jesus every knee shall bow, celestial and terrestrial and subterranean, and every tongue shall be acclaiming that Jesus Christ is Lord, for the glory of God, the Father." So that, my beloved, according as you always obey, not as in my presence only, but now much rather in my absence, with fear and trembling, be carrying your own salvation into effect, for it is God Who is operating in you to will as well as to work for the sake of His delight." (Philippians 2: 10-13)
"...yet now is being manifested through the advent of our Saviour, Christ Jesus, Who, indeed, abolishes death, yet illuminates life and incorruption through the evangel of which I was appointed a herald and an apostle and a teacher of the nations. " (2 Timothy 1:10-11)
This is not complicated, but it does require one to actually study and harmonize all of the scripture found in the Bible. This life sucks sometimes, but ruling and reigning with Christ on this Earth for a thousand years will be worth all the suffering we may experience for "doing good" - which is hearing and having faith in what God the Father says to humanity through His Son Jesus.