Pure states are fundamental for the implementation of quantum technologies, and several methods for the purification of the state of a quantum system S have been developed in the past years. In this letter we present a new approach, based on the interaction of S with an auxiliary system P , having a wide range of applicability. Considering two-level systems S and P and assuming a particular interaction between them, we prove that complete purifications can be obtained under suitable conditions on the parameters characterizing P . Using analytical and numerical tools, we show that the purification process exhibits a resonant behavior in both the cases of system isolated from the external environment or not.