Between 3 & 6 months is the most common.
There are some formalities that need to be completed anyway and these can often take quite some time.
I have often suggested the benefits of this route, but folks shouldn't be complacent about the challenges.
Upping sticks and setting up in another country, even short term, isn't everyones cuppa.