Get your taxes done using TurboTax

As s non-resident, you worked there so taxes are due ; however whatever the tax liability is will be a credit in the state where you live

Ps don’t confuse tax liability with “I owe” - it’s two different things