Trade-in has nothing to do with Applecare+. AC+ is an extended and expanded warranty service, trade-in is getting value for your old phone to put towards a new one - which model is up to you and you pay the difference.
If you have a better condition phone due to recent replacement, you might get a better trade in value but probably equals out with deductible.