Assuming there is medical documentation that you "ex" is simply not fit to care for your minor children as the primary custodial parent then very well you can end up being deemed the primary custodial parent per a court order or a stipulation and order signed by you and your "ex" presented to the court for signature.