The GWTJ happens BEFORE the old heaven and Earth are burned up.
Rev 20:11 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.
Rev 20:12 And 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.
Rev 20:13 And 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.
Rev 20:14 And death and hell were cast into the lake of fire. This is the second death.
Rev 20:15 And whosoever was not found written in the book of life was cast into the lake of fire.
Rev 21:1 And I saw a new heaven and a new earth: for the first heaven and the first earth were passed away; and there was no more sea.
See how before Earth is burned up so the New Earth can come to be that the sea still exists but after the new Earth there is no more sea?
2 Peter 3:7-14
King James Version
7 But the heavens and the earth, which are now, by the same word are kept in store, reserved unto fire against the day of judgment and perdition of ungodly men.
8 But, beloved, be not ignorant of this one thing, that one day is with the Lord as a thousand years, and a thousand years as one day.
9 The Lord is not slack concerning his promise, as some men count slackness; but is longsuffering to us-ward, not willing that any should perish, but that all should come to repentance.
10 But the day of the Lord will come as a thief in the night; in the which the heavens shall pass away with a great noise, and the elements shall melt with fervent heat, the earth also and the works that are therein shall be burned up.
11 Seeing then that all these things shall be dissolved, what manner of persons ought ye to be in all holy conversation and godliness,
12 Looking for and hasting unto the coming of the day of God, wherein the heavens being on fire shall be dissolved, and the elements shall melt with fervent heat?
13 Nevertheless we, according to his promise, look for new heavens and a new earth, wherein dwelleth righteousness.
14 Wherefore, beloved, seeing that ye look for such things, be diligent that ye may be found of him in peace, without spot, and blameless.
Why the need for resurrection of the dead than if old earth and old heaven haven't been burned yet?