I am very sorry for your loss.
If your husband passed away in 2018, you should file his return as it was filed in the past, meaning if you both filed a joint return in the past then you can file a joint return for 2018. See more information below:
https://ttlc.intuit.com/replies/4206146