Can I e-file nonresident return to recoup tax with 0 income

Can I recoup New York taxes held in error through nonresident return, and e-file for the taxes held when reporting wages for New York as '0"?  The refund is correct, but I cannot "fix the return" to e-file Federal or NY because wages of "0" are less than the taxes paid.  It says the returns will be rejected.