I went through a divorce in 2018 in October, but I provided for my spouse up until August 20, 2018 how do I file my taxes now and can I claim him as a dependent?