All causes in which orders of dismissal have been made, or orders of nonsuit entered, which orders have been set aside and causes reinstated, shall remain upon the docket and be proceeded with in the same manner as if the order had never been made. But no such cause shall be brought to trial, or proceeded in, until the defendant therein shall have had at least twenty days' personal notice in writing, or, if he be a nonresident, by publication that such cause has been reinstated on the docket as a Class II legal advertisement in compliance with the provisions of article three, chapter fifty-nine of this code, and the publication area for such publication shall be the county in which the action is pending.