According to the Lord's word, we tell you that we who are still alive, who are left until the coming of the Lord, will certainly not precede those who have fallen asleep. For the Lord himself will come down from heaven, with a loud command, with the voice of the archangel and with the trumpet call of God, and the dead in Christ will rise first. After that, we who are still alive and are left will be caught up together with them in the clouds to meet the Lord in the air. And so we will be with the Lord forever. Therefore encourage one another with these words.
1 Thessalonians 4:16-18

Knowing exactly when the dead will be raised, in relation to the other events at the second coming, is not as important as knowing why Paul wrote these words — to challenge believers to comfort and encourage one another when loved ones die. This passage can be a great comfort when any believer dies. The same love that should unite believers in this life will unite believers when Christ returns and reigns for eternity.
http://www.lehrmangroup.com/verse/