In all estates of nonresidents, being administered in this state, the court may require payment of all claims filed and allowed belonging to residents of this state, and all legacies or distributive shares payable to residents of this state, before allowing any of the property in the estate to be removed from the state.
Iowa Code § 633.504