You can install a single copy (for each license you own) anywhere, including on a local server - you just need to keep the URL at which you will use the license up to date in your customer area.
You can also install a copy locally for development / testing purposes - as per the license agreement:
Terms and conditions for self-hosted XenForo
xenforo.com