Okay, I donât know of a definitive answer, though Iâm leaning towards âprobably okay,â but I can definitely complicate this scenario!Â
Jewish burials demand that when a person is buried, they be buried in the ground in a plain wooden casket, so that they can âreturn to the earthâ as quickly as possible. Weâre pretty extra about the caskets. Wooden dowels used in place of screws so that thereâs no metals, biodegradable materials only, etc. Also, in my experience, weâre not very squeamish about the caskets. I built a casket at age 13 at a synagogue event. (On second thought, that may not actually be considered normal.)
The relevant question, then, is whether the burial facilities on the moon count as âthe ground.â Iâm thinking about the creation story: Adam is created from ״עפר ×× ××××××´, afar min ha-adama, or âdust from the ground.â (Bereishit/Genesis 2:7). Rashi comments on the seeming repetition of using both afar and adama: the double language is because Adam was created out of earth from all of the world, so that in every place that a person would die, in that place they could be buried.Â
So what does Rashi mean when he talks about the whole world?
Rashi uses the very vague term âfrom the four winds,â or âfour directions.â (For the verse with Rashi in both Hebrew and English, see here). It is thus useful to look at the broader context of what is categorized as âthe earthâ vs. âthe heavens.â
Generally, when the Torah or halacha wants to talk about something applicable to the whole world, they use the phrase âon the earth.â Similarly, a distinction is drawn between the âearthâ and the âheavensâ - the Torah is not in the heavens, for example, or see the verse in Psalms: the heavens are heavens for Hashem, and the earth was given to the children of man. There is a split between those who define the earth as literally the Earth and the heavens as anything, say, outside the atmosphere, and those who define the heavens as something spiritual, beyond our reach. In the second category, you can find older commentators such as the Ramban (Nahmanides), who defines âheavensâ as the category of things that have no physical bodies, along with more modern rabbis who lived to see space travel and greater understanding of space generally. The first category contains more literalist interpretations of the world.Â
As far as I can tell, the definition of âthe heavensâ as something spiritual, leaving âreachable spaceâ under the category of âearth,â is the better-supported one. After all, if the Torah is not in the heavens, but we are... does that mean we donât have to keep halacha? What about the fact that in Devarim (Deutoronomy) there is a commandment to keep the Torah all the days you are alive on earth?* In addition, more and broader-accepted rabbis are behind the second category.
As a result, it makes sense to conclude that Rashiâs âall four directionsâ could plausibly include âevery physical celestial body,â making it permissible to bury Jews on the moon: it will count as âreturning to the earth,â which, as mentioned above, is what Jewish burial is trying to achieve.Â
4. Footnotes and sources:Â
Footnote: if you have to live on a colony, I would imagine that rabbis would be pretty lenient in deciding whether you could have a proper burial there. After all, better an approved, if by small margins, Jewish burial than someone remaining unburied.Â
Second footnote: You would probably want a system that allows for decomposition of the body, since thatâs part of âreturning to the earth.â I donât know how that would work on the moon.Â
Asterisk: There is actually an opinion that halacha doesnât apply in space for these reasons, but it is pretty broadly rejected and viewed as radical. See here for some more details.Â
Some sources and relevant links: Is there a legal minimum on the amount of soil needed to make a grave,  Can a Jew who dies on Mars be buried there (too literalist in my opinion, but presents one argument), What defines the earth from a halachic standpoint, and Does the Torah prohibit leaving Earth, all from Mi Yodeya. Also For it is not in HeavenâŚor is it?: On the Halakhot and Hashkafot of Space Travel, and this site about Halacha and space [responsa are in Hebrew, message me for translations]. Additional source: my grandfather.