Get your taxes done using TurboTax

If you are legally separated by court order your former spouse is treated like any other individual so he can be claimed as a qualifying relative and so be your dependent if he lived with you all year, you supported him and he had no income as you posted.