Yes, both your car and address affect your rates. A more expensive car will usually be more expensive to insure, so check rates before buying a car. Used cars are often cheaper to insure than brand new cars.
Residents of areas with more accidents per capita, such as big cities, will pay more for car insurance.