Working or owning rental property outside of your home state means that your earnings will be taxed according to that state, while your home state taxes everything. To ensure you aren't double-taxed, your home state will give you credit for what's taxed in your work state, provided that the income tax in your work state is equal to or higher than that in your home state. If your work state's income tax is lower, you will pay the difference.
Check out the video below for more information!