Yes, all you have to do is bring her with you when you commit the crime or when you are arrested. She’s your get out of jail free card.
Odds are that hundreds of hours will be spent if those cops arrest someone because the baby mamma knows that she can scream, yell, kick, and throw things and the cops don't want the headache over some dope arrest.