A community is categorized as distressed if its score is above 80, whereas if a zip code scores below 20, it is considered prosperous.