You don’t have to. However, your provider will buy the phone back from you and this will save you money on your tariff or save you from paying any upfront costs. So it’s probably in your best interests to turn in your old phone, even if it’s not in the best shape.