Yet God does resurrect them, unto a resurrection of condemnation...unto shame and everlasting contempt.
John 5:29, Daniel 12:2.
Actually Daniel 12:2 is referring to the special resurrection, not the 2nd great resurrection of damnation. In John 5:29, there is the First Great resurrection of only the Righteous, at the beginning of the 1,000 years. There is also the Second Great resurrection of only the finally impenitent at the end of the 1,000 years. Daniel 12:2, has "some" of both, righteous and finally impenitent raised specially to witness Jesus return at the 2nd Advent, which takes place before either the First or Second Great resurrections. See these references.
E: [a special resurrection, some righteous, some wicked - to witness Christ coming in Power in Glory to fulfill His Word] Daniel 12:1-3,12; Matthew 26:64; Mark 14:62; Revelation 1:7, 14:13
F: [[first great] resurrection [of the saints, just, life, before/at start of the 1000 years when Christ Jesus returns in Power and Glory], raised] 1 Samuel 2:6; Job 14:12-14, 19:26; Hosea 13:14; Matthew 22:31; Mark 12:18,23,25; Luke 14:14, 20:35,36; John 5:29a, 6:25,28,29,39,40,44,54, 11:24,25; Acts 4:2, 17:31,32, 23:6, 24:15a,21; Romans 6:5,8, 8:11; 1 Corinthians 15:12,13,16,20,21,23,29,32,35,42,43,52-55; Philippians 3:10,11; Colossians 3:3; 1 Thessalonians 4:16-17; 2 Timothy 2:18, 4:1; Hebrews 6:2, 11:35; Revelation 20:5b,6;
[All the Holy "Clouds" of Angels [the "reapers"] with Him] Psalms 68:17, 104:3; Isaiah 66:15; Matthew 13:39,49, 16:27, 24:30, 25:31,51, 26:64; Mark 8:38, 13:27; Luke 9:26, 21:27; Acts 1:9-11; 1 Thessalonians 3:13, 4:16-17; Hebrews 1:7; Revelation 1:7, 12:7
G: [2nd Advent/Coming in Power and Glory, with all the holy angels, even unto the 3rd] Zechariah 14:1-7
[3rd]; Daniel 2:35,44,45, 7:14,22,27, 8:25, 12:1-3; Matthew 19:28, 24:30, 25:31; Mark 13:26; Luke 21:27; 1 Corinthians 15:43; 2 Thessalonians 1:9
H: [[second great] resurrection [of the wicked, unjust, damnation, at the end/close of the 1000 years, when Christ Jesus and all of the Saints [then immortal] descend to Earth in New Jerusalem upon the Mount of Olives, and the Great White Throne Judgment takes place; Zechariah 14; Revelation 20]] John 5:29b; Acts 17:31, 24:15b; Revelation 20:5a
I: [resurrection of unjust/damnation takes place on earth] Revelation 20:5,7-15