The western suburb of Naperville was named the best city to live in the country for the third year in a row.