My opinion is the Spirit of YHWH took Elijah somewhere through the sky (Heaven) to another place on Earth probably to escape capture or death.
Years later he returned him to the area and he sent the letter of doom. Afterwards no doubt he died.
How do I know?
14: That thou keep this commandment without spot, unrebukeable, until the appearing of our
Lord Jesus Christ:
15: Which
in his times he shall shew, who is the blessed and only Potentate, the King of kings, and Lord of lords;
16:
Who only hath immortality, dwelling in the light which no man can approach unto; whom no man hath seen, nor can see: to whom be honour and power everlasting. Amen.
1 Tim. 6:14-16
Notice that verse 16 proclaims that
ONLY JESUS HAS IMMORTALITY.
If Elijah did not die he also would be immortal. Paul knew the story of Elijah and
STILL WROTE that ONLY JESUS HAS IMMORTALITY
Understanding that this is true answers many questions about the afterlife and resurrection.