It is the clear teaching of scripture that, at the moment of death, believers go directly into the presence of God. The apostle Paul said, "I am hard-pressed from both directions, having the desire to depart and be with Christ, for that is very much better" (Phil. 1:23). Paul is saying at the very moment after physical death occurs, he will be with Christ. How do we know this? it is clear from the Greek text. Without going into too much detail an aorist infinitive ("to depart") is linked by a single article with a present infinitive ("to be with Christ"). The infinitives thus belong together" 'The single article ties the two infinitives together, so that the actions depicted by the two infinitives are to be considered two side of the same thing, or two sides of the same coin. So Paul is saying that the very moment after he departs the body or dies, he will be with Christ in heaven. Moreover, for believers "to be absent from the body" is to be "present with the Lord."
We read in 2 Cor. 5:6-8.. 6 Therefore we are always confident, knowing that, whilst we are at home in the body, we are absent from the Lord: 7 (For we walk by faith, not by sight) 8 We are confident, I say, and willing rather to be absent from the body, and to be present with the Lord. The Greek of this passage is highly revealing. The phrases "at home in the body" and absent from the Lord" in the first part of the passage are present tenses (which indicate continuing action). Hence, we might paraphrase it: Therefore being always of good courage, and knowing that while we are continuing to be at home in the body we are continuing to be absent from the Lord."
By contrast, the latter part of the passage contains two aorist infinities: "absent from the body" and "present with the Lord." Such infinitives indicate a sense of "once for all". We might paraphrase this: "We are of good courage, I say, and prefer to be absent from the [mortal, perishable] body and to be once for all present with the Lord."
It's also noteworthy to that the Greek word "pros" is used for with in the phrase to be "present with the Lord." This word suggests very close (face-to-face) fellowship. It is a word used of intimate relationships. Paul was expecting to have intimate fellowship with Christ immediately following his death here on earth.