(a) If a person resides indifferently at two or more places in this state, the person shall have the privilege of electing which of such places shall be his domicile. If the election is made known generally among those with whom the person transacts business in this state, the place chosen shall be the person’s domicile. If no such election is made or if an election is made but is not generally known among those with whom the person transacts business in this state, third persons may treat any one of the places in which the person resides as his domicile and it shall be so held; and in all such cases a person who habitually resides a portion of the year in one county and another portion of the year in another shall be deemed a resident of both, so far as to subject him to actions in either for contracts made or torts committed in such county.(b) Transient persons whose business or pleasure causes a frequent change of residence and who have no family permanently residing at one place in this state shall be deemed, as to third persons, to be domiciled at such place as they at the time temporarily occupy.