(a) A registered foreign entity may withdraw its registration by delivering a statement of withdrawal to the secretary of state for filing. The statement of withdrawal must be signed by the entity and state:
(1) The name of the entity and its jurisdiction of formation;
(2) That the entity is not doing business in this state and that it withdraws its registration to do business in this state;
(3) That the entity revokes the authority of its registered agent to accept service on its behalf in this state; and
(4) An address to which service of process may be made under subsection (b) of this section.
(b) After the withdrawal of the registration of an entity, service of process in any action or proceeding based on a cause of action arising during the time the entity was registered to do business in this state may be made pursuant to section 30-21-412, Idaho Code.