Can I file as Head of Household if I have 1 dependent under 18 and we live outside the US and my ex-spouse is not a US citizen and does not file US taxes?

If my dependent lived with me all year I think the answer is yes, but they live with me only half the year.