No. It applies to any kind of income from another state. Here are some possible examples, besides wages on a W-2.
- You have a business in another state.
- You have self-employment income from another state.
- You drove for Uber, Lyft, or a similar "sharing economy" operation, and some of the trips were in another state.
- You own a rental property in another state.
- You sold a home or other property in another state.
- You have gambling winnings from a casino, race track, or lottery in another state.