State tax filing

Thank you -- based on your response shouldn't I expect a refund of the state income taxes already paid to Pennsylvania if I will correctly allocate my income as a Maryland nonresident and PY resident for 2019? I downloaded the PA state form and selected "Nonresident" but TurboTax is saying I don't owe taxes or qualify for a refund.