Where you live could help determine how far you can go in an electric car.