it is written in Yebamoth 62 that Mosheh separated from his wife and gave the following reason: ..."He said, ’If to the Israelites, with whom the Shechinah spoke only for a while and for whom a definite time was fixed, the Torah nevertheless said, Come not near a woman, how much more so to me, who am liable to be spoken to at any moment and for whom no definite time has been fixed’. And his view coincided with that of the Omnipresent; for it is said, Go say to them: Return ye to your tents; but as for thee, stand thou here by Me."... In Melachim Bais 2 Eliyyahu was not married and it seems that he was the only one who never experienced death but was taken by whirlwind in a heavenly chariot and horsemen. And I’ve heard of a rabbi in the Talmud who never got married because was overtaken by the study of Torah. My questions on this are: Why particular closeness to G-d demanded separation from spouse? I am not talking about closeness but the kind of closeness from the greatest of prophets. Adam was always before G-d when he was not driven away from Eden and Adam was married. So then no abstinence was demanded from him. What is different in sexual relations after human kind was driven out from Eden that makes a human being unclean to approach G-d i.e. to be a prophet of the rank of Mosheh and Eliyyahu?
Shalom, Thank you for your question. Your question is an interesting one. Firstly, it should be clear that Moshe was the exception rather then the rule in the fact that he separated from his wife. This was because he merited that G-d would speak to him in prophesy at any instant – which is inappropriate if he would be involved in marital relations at the time. The other prophets would purify themselves and prepare themselves for prophesy – meaning that being married was in no way any interference with receiving G-d's word. (In fact being married was probably a spiritual prerequisite to being on the level to become a prophet in many cases – though not all. The spiritual qualities that are honed in marriage, such as love, caring, giving etc, would all be needed to help create the level of the soul needed to be a prophet). As to Adam HaRishon – we simply cannot fathom his spiritual connection to Hahsem. The type of spirituality that permeated the Garden of Eden was of such a level that even the very physicality was raised up to status of spirituality. This allowed for first man to be connected to Hashem even when involved in the physical side of married life. I hope this is of some help – Blessings.