Association between proximity to the COVID-19 and quality of life