i think it will be granted for 2yrs

and yes, once your wife passes she can apply for ilr.