If a house is not well maintained, it will lose value as it ages. However, the location and market can play a bigger role in determining the value of a home — this is why there are affordable mansions in less populous states and multimillion-dollar shacks on the California coast.