Number one rule in Real Estate: location, location, location
So that pretty much answers your question.
Just make sure you pay fair market value for the property. That can be assessed by pulling similar properties that have sold in the surrounding streets. You may find in certain towns (with high demand) it doesn't have too much of an effect.
Here is every property actively for sale in Needham:
Massachusetts Premier Buyer Brokerage