Ecc 9:5 says the dead know not anything. Many verses in the Bible point to a death as a rest - then two resurrections.
The resurrection of the Just will happen after the great tribulation which will be caused by government bodies of this world, sending us back into the dark ages.
After this, and after the appearance of the false prophet (false Jesus); The real Jesus will return from the sky, with all his holy angels with him - the people of the earth will mourn and hide their faces from him "Then shall they begin to say to the mountains, Fall on us; and to the hills, Cover us." (Luke 23:30) - "and with the trump of God: and the dead in Christ shall rise first: Then 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." Then the rest of the wicked will be destroyed from the earth, and Satan will be bound for 1000 years as the righteous reign 1000 years in heaven with Jesus.
After the 1000 year reign, the city of God - New Jerusalem will descend from the heavens with the just inside, and shall land upon the mount of olives (and cover the entire promised lands promised to Abraham)
Then the rest of the dead will rise, surround the holy city of God, and satan himself will deceive these people one last time into attacking the golden city - then God will have no choice but to destroy them.
This is summed up in Revelation 19 and 20. If you want you can email me for a full Bible study on the subject (i was abit brief) - not everything is spoken of in Revelation, some is in the NT and some prophecies also in the prophets from the OT. Also i can give you studies on the state of the dead, heaven and hell, the antichrist, and the great judgement -
Anyway hope this helps, God bless!!!