Yes, for qualified medical care. The same rules that apply at home apply when you are traveling or living abroad: the care has to be a qualified medical expense.
Medicines bought abroad generally qualify only if they are legal both there and in the U.S.
Keep itemized receipts for care you receive outside the U.S., just as you would at home, in case you need to show the IRS what a withdrawal was for. Also check with your HSA custodian on how your debit card works internationally and whether any fees apply.