He taught that there is this temporal age during which people get married and die and then the eternal age to come during which people will no longer get married and will no longer die (Luke 20:34-36).
Correct. The language of Jesus upon that topic is explicit.
Luk 20:27 Then came to him certain of the Sadducees, which deny that there is any resurrection; and they asked him,
Luk 20:28 Saying, Master, Moses wrote unto us, If any man's brother die, having a wife, and he die without children, that his brother should take his wife, and raise up seed unto his brother.
Luk 20:29 There were therefore seven brethren: and the first took a wife, and died without children.
Luk 20:30 And the second took her to wife, and he died childless.
Luk 20:31 And the third took her; and in like manner the seven also: and they left no children, and died.
Luk 20:32 Last of all the woman died also.
Luk 20:33 Therefore in the resurrection whose wife of them is she? for seven had her to wife.
Luk 20:34 And Jesus answering said unto them, The children of this world marry, and are given in marriage:
Luk 20:35 But they which shall be accounted worthy to obtain that world, and the resurrection from the dead, neither marry, nor are given in marriage:
Luk 20:36 Neither can they die any more: for they are equal unto the angels; and are the children of God, being the children of the resurrection.
Luk 20:37 Now that the dead are raised, even Moses shewed at the bush, when he calleth the Lord the God of Abraham, and the God of Isaac, and the God of Jacob.
Luk 20:38 For he is not a God of the dead, but of the living: for all live unto him.
Luk 20:39 Then certain of the scribes answering said, Master, thou hast well said.
Luk 20:40 And after that they durst not ask him any question at all.
The 'question' (trying to trick / trap Jesus), by the Sadducees, dealt with matters of the life in /
after the resurrection (at the end of the world), which the Sadducees did not believe in
(*), seeing as they could not find such a doctrine in the Torah (Pentateuch) of Moses, and they only claimed to believe Moses, rather than those prophets that came afterward. However, Jesus knowing the scriptures better than they, showed them from 'Moses' (Torah / Pentateuch), in Exo. 3:6:
Exo 3:6 Moreover he said, I am the God of thy father, the God of Abraham, the God of Isaac, and the God of Jacob. And Moses hid his face; for he was afraid to look upon God.
Now, those who hold to certain WTS / JW / LDS- like doctrines will of course deny the statements of Jesus by attempting to spiritualize it/them away into some other non-thing/s, but in so doing they unwittingly assault the very resurrection of Jesus, which is the preeminent resurrection from which all others are resurrected (bodily, with "flesh and bones"; Luk. 24:39 KJB), along with the great future resurrection of the sleeping saints to come, along with how the New Heavens & Earth (world) will function at a foundational level. It is amazing, that even the Sadducees were put to silence, and "after that they durst not ask him any question at all" (and none sought to spiritualize away the words of Jesus then, and they understood what Jesus referred to in Exodus, countering their man-made false doctrine), while the scribes (which dealt with the scriptures, and recording, among other things), acknowledged the very truth of what Jesus stated, unlike those who hold to such vain carnal doctrines as the WTS / JW (and some others, LDS) do on this passage. In the "world" to come, the "new" one, after the great Resurrection, and subsequent events thereto, which Jesus shall make, "marriage" is not present among human individuals anymore, and neither any need to produce "seed" and offspring, but those who are in that kingdom, "are equal unto the angels" (which also are not given in marriage, and neither have "seed", nor produce "offspring"
(**). The great "marriage" to the Lamb is the final marriage, between God & His people. The great harvest will then be past, and so there is no more need for "sowing" "seed" or "reaping". The Gospel is realized in its fullness. Will there be children in Heaven (3rd)? Yes, those of the resurrection / translation. Will they eventually grow up? Yes.
(*)
Mat_22:23 The same day came to him the Sadducees, which say that there is no resurrection, and asked him,
Mar_12:18 Then come unto him the Sadducees, which say there is no resurrection; and they asked him, saying,
Luk 20:27 Then came to him certain of the Sadducees, which deny that there is any resurrection; and they asked him,
Act_23:8 For the Sadducees say that there is no resurrection, neither angel, nor spirit: but the Pharisees confess both.
1Co_15:12 Now if Christ be preached that he rose from the dead, how say some among you that there is no resurrection of the dead?
(**)
See Question 10 in its details -
Michael The Archangel Who Is Like Unto God The Highest Messenger (BOOK) : Free Download, Borrow, and Streaming : Internet Archive
or
See Chapter 12 in its details -
Godhead - The Eternal Heavenly Trio : Free Download, Borrow, and Streaming : Internet Archive