The remuneration derived by a professor or teacher who is ordinarily resident in one of the territories, for teaching, during a period of temporary residence not exceeding two years, at a university, college, school or other educational institution in the other territory, shall be exempt-from tax in that other territory.