It is narrated from Ibn Abi Najih that Ata' said that Sayyiduna Abdullah bin Abbas (may Allah be pleased with him) said: This verse abrogated her spending the 'iddah with his family. She may spend the 'iddah wherever she wishes, and that is the saying of Allah Almighty: 'without turning them out' [Surah al-Baqarah: 240]. Ata' said: If she wishes, she may spend the 'iddah with his family or in the place in which she was bequeathed residence, and if she wishes she may leave, on the basis of this saying of Allah Almighty: 'But if they leave, there is no blame upon you for what they do with themselves' [Surah al-Baqarah: 240]. Ata' said: Then (the verses of) inheritance came and abrogated the residence; she may spend the 'iddah wherever she wishes.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب العدد / 15506