Have a Tax Question? Ask a Tax Expert
You have to file a non-resident return for MN, and take what refund you get. The money was not earned in MN, so when you fill out the non-resident return, you will show all income earned in PA, and zero in MN, and you should get the entire amount refunded.
You would file a resident return in PA; who will give you credit for any taxes paid to MN.