According to the United Health Foundation, these states rated as the most and least healthy in the nation in 2017.