Physical present test of 330 days after filing for extension - is that ok?

I am asking about a senior citizen who is US citizen. She has permanently moved to foreign country on May 29 2019 so if she file before April 15 2020 (Tax return deadline) she will not meet 330 days requirement ..she will be short by like 10 days.....

 

in that case can she file for extension ..so her deadline will be October 2020 and than she can meet 330 days requirement ?

is this ok to do ?