When you get arrested the following applies to you:

This debuff resolves in 5 in-game days or 3 successful contracts completed. If you receive this debuff while it’s already active the debuff expiry resets.