You can tell the pharmacist that you will pick it up at a certain other location, or if you use the website, there is a pick-up location option
Rachel is correct, but to add on to that, you can also go to a different Walgreens and ask them to call over to the one you dropped it off at.
Thanks! Your answer is awaiting moderation.