If the landlord is willing to have you enter into a new lease for a different apartment in the same complex where your current lease terminates for your existing rental and a new lease is entered into for a different one, the landlord is obligated to return your deposits on the former apartment to you.As a condition of the new lease for a different smaller apartment, the landlord could require that you place new deposits for that unit.The landlord cannot unjustifiably keep your deposit for the apartment you are giving up and then require another new apartment for the smaller apartment. You would be no longer occupying the first unit.