Rehab & Sell/ Rent in a different state?

Hey all. I live in Mass. However, I’ve seen a lot of possible rehab prospects in a college town about 40 miles away in NY. What are the guidelines for HML in NY? I think it would be best to rent these properties out after the rehab. Any advice? Thanx

                Mike