Yes, if you had erroneous state tax withholding, you must file a nonresident tax return for that state and indicate zero (0) state source income to get the refund.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"