Please provide a source.
The last I heard was that Ukraine would agree not to join NATO if it were voted on by Ukraininians after the Russians withdrew completely.
Oh, and the other condition is that other countries like the US will guarantee Ukraine's safety, in a framework remarkably similar to Article 5 of the NATO agreement.
I have never, ever heard Ukraine agree that Donbas and Crimea would be annexed by Russia.