Yes, but I would confirm with the issuing court that it is effective and entered on the day that you think it will be.  It is possible that the court order could be entered on a different day and, depending on what state is granting it, it could, technically, be considered effective on a different date.  I would confirm the date before marriage.  Otherwise, you marriage may be later found to be void.