You can fill your prescription or get a refill in any US state or territory. There are a few exceptions for Schedule II medicines (highly-regulated medications like hydromorphone, methadone, and oxycodone) which cannot be filled if you're traveling between states. Read more here