It depends. You will normally be taxed on all of your wages by your resident state. If you work in a different state, that state may tax you on the wages earned in that state.
When you live in one state and work in another, you often need to prepare two state tax returns - a nonresident return for the state in which you work and a resident return for the state in which you live. In this situation, you generally prepare the nonresident state return first. Follow the prompts in the nonresident state return in TurboTax to identify which income from your Federal return is sourced in that state. If there is tax due to that state, you may be able to claim a credit on your resident state return for the tax paid to the other state.
Some states have reciprocity agreements so that you don't have to prepare two returns if you only receive wages in the nonresident state.
See this article for information on states with reciprocity agreements.
See also this TurboTax article and this one on multiple-state situations.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"