Good question DC.
YLTRev 204 And I saw thrones, and they sat upon them, and judgment was given to them, and the souls of those who have been beheaded because of the testimony of Jesus, and because of the word of God, and who did not bow before the beast, nor his image, and did not receive the mark upon their forehead and upon their hand, and they did live and reign with Christ the thousand years;
==> Only those that didn't follow the beast will live during the 1000 year reign of Jesus.
5 and the rest of the dead did not live again till the thousand years may be finished; this is the first rising again.
==> The first resurrection is for saints only
6 Happy and holy is he who is having part in the first rising again; over these the second death hath not authority, but they shall be priests of God and of the Christ, and shall reign with him a thousand years.
==> They will reign with Jesus. The question is over who they reign if the sinners are not resurrected yet?
==> How can the sinners have a second death if they are not part of the resurrection?
7 And when the thousand years may be finished, the Adversary shall be loosed out of his prison,
8 and he shall go forth to lead the nations astray, that are in the four corners of the earth--Gog and Magog--to gather them together to war, of whom the number is as the sand of the sea;
9 and they did go up over the breadth of the land, and did surround the camp of the saints, and the beloved city, and there came down fire from God out of the heaven, and devoured them;
10 and the Devil, who is leading them astray, was cast into the lake of fire and brimstone, where are the beast and the false prophet, and they shall be tormented day and night--to the ages of the ages.
==> After the 1000 years satan is allowed to lead the world astray again. Satan gets defeated and cast in LoF. Beast and the fals eprophet are already there. Humans are not mentioned.
11 And I saw a great white throne, and Him who is sitting upon it, from whose face the earth and the heaven did flee away, and place was not found for them;
12 and I saw the dead, small and great, standing before God, and scrolls were opened, and another scroll was opened, which is that of the life, and the dead were judged out of the things written in the scrolls--according to their works;
==> Some say the scroll of life is not about the life of mankind. "The life" = Jesus so: and another scroll was opened, which is that of Jesus
13 and the sea did give up those dead in it, and the death and the hades did give up the dead in them, and they were judged, each one according to their works;
==> very puzzling. I looks like the chronology is a bit mixed up. The saints already lived a year. The people stand before the throne (are the sainst only)
==> The dead are judged before they are given up by hades???
14 and the death and the hades were cast to the lake of the fire--this is the second death;
==> Hades is empty and cast in LoF
15 and if any one was not found written in the scroll of the life, he was cast to the lake of the fire.
==> Sinners are cast in LoF
So it looks the answer to your question is that Matthew is after the 1000 years because in Revelation that also happens after the 1000 years.
In verse 13 we see judgement of works like in the verses you mentioned. So that's an other indication it happens after the 1000 years.
What I find odd is that there are at leat 2 judgements.
The saints are resurrected. Obviously to that means God finds them worthy for that resurrection. So that's a judgement.
Later we see another resurrection before the white throne.

That's after the period satan was back on earth for a while. So he likely decieved some of teh saints from the 1000 year reign too.