Any offer, sale, or other transfer of a franchise, or any interest in a franchise, to a resident of another state or any territory or foreign country, shall be exempted from the provisions of Chapter 2 (commencing with Section 31110) of this part, if all locations from which sales, leases or other transactions between the franchised business and its customers are made, or goods or services are distributed, are physically located outside this state.