It depends upon the charge, and the country.
If you are on probation, make sure that you have permission from your probation officer to travel on the cruise. Usually, people on probation are restricted from traveling outside of the state without permission.

