Yes, for 2018 tax year your parent can file as married filing jointly.
You can enter the spouse's information and the program will ask if the person passed away during the year.