That would be like saying Montana would have to give up their nukes if the US wanted them in Washington instead,
States do not have nukes that are stationed in the state, because the cost, maintenance, launch codes, personnel, etc. are all handled by the federation, NOT by the state.
That would be wrong, like believing the Soviets gave the launch codes to Castro for those short range nukes they put in Cuba.
The country where nukes are located, is NOT who controls them.
When the US put nukes in Turkey, they were not Turkish nukes.
The Ukraine never owned any nukes.
They were Russian nukes, controlled by Moscow.
The USSR was always extremely centralized, going back to the paranoia of Stalin.
There is no way the Ukraine ever gave up anything except that they could have reclaimed the fissile material if they had wanted to.
But they certainly never could have programmed or launched any of those missiles.