It's probably about 4-5 miles and easy to get to. Long Sands is beautiful but the water is very cold.
Several miles... depends on the beach. Not walking distance, for sure. The Microtel is very near the York exit of the Maine Turnpike (I95). It doesn't overlook the highway, but it's pretty close. It's in what used to be known as York Village. I bet it's 5 miles to Long Sands or Short Sands/Downtown York Beach.
Get an answer from Microtel Inn & Suites by Wyndham York staff and past guests.