If you are arrested, and your car is towed, they WILL search it, including the glove compartment if it is not locked. This has happened to me (more than once, sigh...)

If the glove compartment is locked, I don't think they will break it open.