When we die does our spirit go straight to heaven? Or will we rise before the living at the time of the Rapture?
First, it’s important to understand that the term resurrection (or "rising from the dead") doesn’t refer to the spirit but to the body. Resurrection means a spirit receiving a living body again. Therefore, Christians who die will enter immediately into Heaven in spirit form only. In a future day, the Lord has promised to return for His Church and resurrect us (i.e., give us new bodies). In 1 Thess 4 Paul teaches the exact order of events for the resurrection of the church:
At the moment of the resurrection, Paul says in v.14 that the Lord will return from Heaven bringing with him those saints who have already died. These saints will return in spirit only (i.e., no bodies). When the moment arrives for all the Church to receive new bodies, Paul says those saints who remain alive on earth will not precede those who have died already, meaning those Christians who are alive on earth at the moment Jesus returns to resurrect the church will not receive new bodies before those who have already died.
Those saints who have already died and are returning with Christ will receive new physical bodies first with Christ in the clouds (v.16). Then immediately afterward, all saints still alive on the earth will be moved directly from the earth to the clouds into new bodies. They will not experience death but will move directly from earth to the clouds and into new eternal bodies.