Yes, you can claim your dad even though he passed away in 2016 per the following qualifications below:
- You provided more than half of his support in 2016
- He earned less than $4,050 in gross taxable income. (Social Security income generally doesn’t count here.)
- He lived with you 365 days in the year or is related to you.
- He isn’t a dependent on someone else’s tax return..
- He isn’t filing a tax return with a spouse (married filing jointly).
- He was a U.S. citizen, resident alien, national, or a Canadian or Mexican resident
You can’t claim a dependent if you are a dependent on someone else’s taxes
See Rules For Claiming Dependents