Since widow is the class- I heir she inherits the flat unless Probate is granted of a Will left by her husband.
In the present circumstances if the widow challenges the Will the Probate is unlikely to be granted and before it is so granted the widow can easily get an order of residence vide PWDV Act.
Widow can seek relief under the Act against her in law