Maybe if she isn't capable of holding it when awake, you could try training her to go in a particular spot, on a "pee pad" in the bathroom, maybe?