
It should be understood that if the staircase of the building is accessible from within the home itself, then the entire building is considered one home in terms of Shariah. In that case, your mother-in-law is permitted to come and go to your flat.
However, if the staircase is accessible only from outside the individual flats and the entrances are separate, then during her iddah your mother-in-law may not leave her husband's home without a valid reason. That said, if she faces severe distress or fear due to being alone, she may leave her husband's home and observe her iddah with you.
۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔
۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔دلائل:References:بدائع الصنائع: (205/3، ط: دارالکتب العلمیة)وأما المتوفى عنها زوجها فلا تخرج ليلا ولا بأس بأن تخرج نهارا في حوائجها؛ لأنها تحتاج إلى الخروج بالنهار لاكتساب ما تنفقه؛ لأنه لا نفقة لها من الزوج المتوفى بل نفقتها عليها فتحتاج إلى الخروج لتحصيل النفقة، ولا تخرج بالليل لعدم الحاجة إلى الخروج بالليل۔
.Allah the Almighty knows best
.Darul ifta Al-Ikhlas, Karachi