Do you have to file a tax return in the state of your vacation rental if you own a vacation rental in another state?

If you own a vacation rental in another state, do you have to file a tax return in the both your primary state and the state your vacation rental is located in? Do you split via amount attributed to the rental property?