Get your taxes done using TurboTax

If you were still married in 2019 your spouse could not claim you as a dependent.  A spouse is never a dependent.  Did your ex file a Joint return for 2019?  You need to get a copy of the 2019 return.  If it was a Joint return they have to give you a copy.  You might have to ask your lawyer to get it from her if you can't get a copy from the IRS.