One of you'll keep the current one as your own. Other person signs out of the Apple ID on all their devices and chooses the option to keep content on the device, if asked, then they will create their own Apple ID and sign into it and turn on their preferred iCloud options again.
Lastly, the original Apple ID will send a Family Share invite to the new ID. Set up Family Sharing - Apple Support
It's still not recommended to share an iCloud ID either, but if you wish to then you would just sign out of iTunes and App Store and not choose to sign out of iCloud.