Yes. Isolation is not bound to the place of residence. Important is not to swap places during the time of your isolation.