The rapture happens in no way before the resurrection per 1 Thessalonians 4:15. And John 6:40, ". . . believeth on him, may have everlasting life: and I will raise him up at the last day. . . ."
The resurrection of whom?
Matt 27:50 Jesus, when he had cried again with a loud voice, yielded up the ghost.
51 And, behold, the veil of the temple was rent in twain from the top to the bottom; and the earth did quake, and the rocks rent;
52 And the graves were opened; and many bodies of the saints which slept arose,
53 And came out of the graves
after his resurrection, and went into the holy city, and appeared unto many.
54 Now when the centurion, and they that were with him, watching Jesus, saw the earthquake, and those things that were done, they feared greatly, saying, Truly this was the Son of God.
The resurrection is like the harvest of the fields. Jesus is the firstfruits of the resurrection (harvest). The Jews had been prefiguring this truth for about several hundred years before the event by observing the feast of firstfruits annually without understanding it. It was observed just after the feast of unleavened bread, which pictures the undecaying dead body of Jesus in the tomb because there was no sin in it. The feast of unleavened bread was observed immediately after the feast of Passover when the Lamb was killed. The offering was a sheaf of wheat, gathered before the main harvest, and waved toward heaven symbolizing the firstfruits that actually happened according to the prophesy of the spring festival. I posted the fulfillment of it in Matt 27:50-54. This festival prefigured the death, burial, and resurrection of Jesus Christ and was the end to which it pointed. Now, there are two more steps in the harvest, the main harvest and the gleanings. The gathering of the church is the main harvest;
Eph 1:9 Having made known unto us the mystery of his will, according to his good pleasure which he hath purposed in himself: 10 That in the dispensation of the fulness of times he might gather together in one all things
in Christ, (the definition of the church which is his body) both which are in heaven, and which are on earth; even in him:
The gleanings are mentioned in Re 20. Three in one and one in three, the first resurrection. The trinitarian signature on God's doctrine of the resurrection of the just. The firstfruits are before the church, the main harvest is the church, and the gleanings are after the church. One should be able to figure out what Jesus means by "the last day" by understanding this equation in it's context.
What a wonderful truth from our God!