The acceptance by a resident of this state of a certificate of ownership or a certificate of registration of any motor vehicle or any renewal thereof, issued under the provisions of this code, shall constitute the consent by the person that service of summons may be made upon him within or without this state, whether or not he is then a resident of this state, in any action brought in the courts of this state upon a cause of action arising in this state out of the ownership or operation of the vehicle.