You may owe taxes to both your state and to the state where the S-Corp is located if you meet the filing requirements for the other state.
Please see our TurboTax FAQ below for information on filing requirements by state.
https://ttlc.intuit.com/replies/4801660