Spirit Airlines said it has reached an agreement with lenders to emerge from bankruptcy by late spring or early summer.