The impacts of crises on the cost of living for residents. Examining the differences in urban and non-urban areas