The line comes from the film Operation Endgame and after watching the clip... I agree with the others.
Bobby is the guard's son. The first guard tells the second one that he used that really nasty insult on his ex-wife. The second guard warns him to more careful what he says to his ex-wife or she is going to end up keeping him (Bobby) all the time OR having custody of him (Bobby) all the time.

here is the clip (R rated movie here fans).