Just because a parent is in jail doesn't mean that he/she gives up any parental rights, unless the Court has taken them away. Person in jail can still file an objection to their child leaving the state. The temporary custody order could have a visitation component to it, and taking the child away on vacation might make the parent in jail miss time with the child.