The energy required to separate the nucleons in a nucleus to infinity is called Binding Energy. This is equal to the energy released if the nucleons are brought together from infinity to form the nucleus.
Remember remember the definition of binding energy; the amount of energy released in assembling a nucleus is exactly equal to the amount of energy required to disassemble it!