I am sorry to hear of your loss.
The return must be signed by the legal
representative for the deceased, in the area provided on the last page of the
return. The legal representative must sign their name and indicate their title
(for example, executor or administrator).
Here is some more information regarding preparing
returns for the deceased:
https://turbotax.community.intuit.ca/questions/1189877