With all due respect to the author, just because Rashi quotes a midrash does not create the need to tangent off into a dvar Torah completely unrelated to both the parsha as well as to Rashi (see below)
A Place To Be
“And it came to pass after the seven-day period that the waters of the Flood were upon the earth”(7:10)
According to most Halachic opinions “shiva”, the seven day mourning period observed after the death of a close relative, is not a Torah-mandated obligation, rather a Rabbinical institution. Rashi cites an allusion to shiva from this week’s parsha. After Noach completed construction of the Ark, Hashem delayed the onset of the rains for seven days. Rashi cites the Midrash which states that Hashem waited until after the righteous Metushelach passed away, before punishing the world. The seven days preceding the flood was the shiva period observed after his passing.
It is customary to comfort a mourner with the statement “Hamakom yenachem eschem besoch she’ar aveilei Tzion v’Yerushalayim” – “Hashem (lit. “the Place”) should comfort you among the rest of the mourners of Zion and Jerusalem”. Hashem has other names, such as “Rachum” or “Chanun” which reflect His mercy and compassion, and they would therefore seem more appropriate for this occasion. Why do we use the appellation “Makom” – “Place” in this case? How is this statement a source of comfort for a mourner?
Regarding Hashem, the Midrash states “M’komo shel olam v’lo Ha’olam mekomo” – “the world is contained within Hashem’s space and not Hashem within the space of the world”. Our Sages are teaching us that space was not a preexisting reality. Rather, when Hashem brought the world into existence, He created the reality of space. Consequently, Hashem does not exist within space; space exists within Hashem’s reality.
The name of Hashem which reflects this notion is “Makom” – “Place”. It is therefore appropriate to specifically use the appellation “Makom” when comforting a mourner. The sense of loss precipitated by the death of a loved one stems from the feeling that the deceased no longer exists within the same reality as the living. In times when long distance communication was non-existent, the migration of a family member to a distant country would not invoke the same sense of loss as the loss brought on by death, for there is comfort in knowing that a loved one continues to exist within the same space as us. The appellation “Makom” is reflective of the notion that everything is within Hashem’s space. Therefore, even though the departed has left our own perceived reality, he continues to exist within Hashem’s created reality. Although he may be on a different plane of existence, he continues to share the same space as us. This concept is a great source of comfort to the bereaved.
1.Yoreh De’ah 398:1
4.Bereishis Rabbah 68:9