Courts stay out of dog custody litigation, but you and your spouse can still agree to a custody schedule for any shared pets. You can include who will be responsible for food, medical, grooming, and other expenses in this agreement.