My husband died in 2017, can I e-file the taxes

My husband died in December of 2017. Am I allowed to file my taxes by  e-file, or must it be by paper filing?