Carl
Level 15

Get your taxes done using TurboTax

A bit more information is needed, in order to provide a useful response.

You state you don't work. Did you not have any type of reportable income (taxable or not) from any source for the entire 2022 tax year?

When was your divorce finalized?

If you didn't work at all in 2022 or have any other source of income, how did you support yourself and the kids and maintain a household?

The court told ex husband he couldn't claim

Anything below a federal judge really has no say in federal tax law. (Though there are work-arounds they can use and enforce.) Since federal judges don't deal with divorce/separation/custody issues, I doubt the ruling of whatever judge you had would even matter really.... at least at the federal tax level.