Ibn 'Abbas said "The following verse abrogated the rule of passing her waiting period with her people. A year’s maintenance and residence. She may pass her waiting period now anywhere she wishes'.Ata said "If she wishes she can pass her waiting period with the people of her husband and live in the house left by her husband by will. Or she may shift if she wishes according to the pronouncement of Allah the Exalted. But if they leave (the residence) there is no blame on you for what they do. Ata’ said "Then the verses regarding inheritance were revealed. The commandment for living in a house (for one year) was repealed. She may pass her waiting period wherever she wishes.
This hadith teaches us that women have freedom of choice when it comes to where they wish to spend their waiting periods after marriage or divorce. It also shows us how Allah has granted them rights and freedoms which were not available before His revelation.