Yes, you can file electronically. The IRS has allowed this for deceased taxpayers for several years.
I send my sympathies to you and your family.
@Laura936
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"