They stayed in their Cave for three hundred years and added nine.
Say: "Allah knows best how long they stayed. The Unseen of the heavens and the earth belongs to Him. How perfectly He sees, how well He hears! They have no protector apart from Him. Nor does He share His rule with anyone." (Surat al-Kahf: 25-26)
Surely, what matters here is not whether this period is short or long. The point is, Allah takes some people back, either by making them sleep, or simply making them die from this life for a particular period and then revives them. Just like people waking from a dream, Allah gives them life again. Jesus (as) is one of these people and, at due time, he will live again in this world. After fulfilling his task, he will die just like any other human being in accordance with the commandment of the verse in which He said: "On it you will live and on it you will die and from it you will be brought forth."(Surat al-A’raf: 25)