It is narrated from Abdullah bin Mas'ud (may Allah be pleased with him) that the waiting period of a divorced woman is from the time she is divorced, and the waiting period of a woman whose husband has died is from the time her husband died.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب العدد / 15446