When there is a demise of husband, then wife is not allowed to leave the home or place of his husband. But Islam allows those women who have the responsibility to earn for the family, that they can go outside. But there is a restriction that she can only work in day. For special conditions as per the modern age, where there are several work shifts, a woman can discuss with any Mufti or Sheikh.
While staying at home, she does not become untouchable, or useless. She can continue doing house hold work, teaching kids, cooking meals, cleaning house etc, unless there is a physical inability.
When she has to approach a doctor then she can leave the house. When she has to attend some important work of children outside the house, she can also leave. But if it is only possible or allowed when there is no other one for doing this.
Husband’s place can only be left when it goes beyond the affordability or its difficult to live there due to some natural disaster. Whatever the reasons are, all must be genuine.
While spending IDDAH time period, women have rights to ask for the maintenance to manage the expense of life and the children. If the husband owes anything to wife, then she has the right to take from his assets.