529 Accounts

I am in AZ and I want to set up a 529 account for grandchildren in another state. Should the account be in AZ or in the state where the grandchild lives?