Qualified withdrawals are allowed if the institution is an eligible institution, regardless of location.
IRC Section 529 defines eligible institutions:
"529(e)(5) ELIGIBLE EDUCATIONAL INSTITUTION.--The term "eligible educational institution" means an
institution--
529(e)(5)(A) which is described in section 481 of the Higher Education Act of 1965 (20 U.S.C. 1088), as in
effect on the date of the enactment of this paragraph, and
529(e)(5)(B) which is eligible to participate in a program under title IV of such Act."
You need to check the Dept. of Education lookup list for specific institutions.
Hope this helps.
TJ