Hadith.4783 - Commander of the Faithful عليه السلام ruled concerning a woman whose husband passed away without consummating the marriage, saying:
"She must not remarry until she completes a waiting period (iddah) of four months and ten days, which is the prescribed waiting period for a woman whose husband has passed away."
As for a divorced woman, her waiting period begins from the day her husband divorces her. However, the waiting period for a woman whose husband has died begins from the day she receives the news of his death because she must observe mourning (ihdad), whereas a divorced woman is not required to observe mourning.