You are free to change your device. You'll need to remember and use the same credentials (username/email address/password) to log in to your account and resume your progress.
You'll also need to access your original account and avoid creating multiple accounts.
If you have created your original account using Google or Facebook, you'll need to sign in using the same method (Facebook or Google).