In Boston, you definitely won't need a car. You're always a 6$ cab ride away from the airport, and a train station is usually not far away from most crashpads. A place near the rental car center will make it a 5 minute walk to a free airport bus. JFK has the company shuttle that's less than a 10 minute walk from most crashpads.
Both cities have decent public transport to get you other places...