It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with him) that: "A woman whose husband has died, and a woman who has been given an irrevocable divorce (talaq battah), should not spend the night anywhere except in her own house." And Allah knows best.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب العدد / 15505