She is entitled to a 60-day notice to quit from the bank. In other words, she has at least two months after the foreclosure, possibly longer if the bank does not send her the notice right away.
And the best part? She does not have to pay rent to anyone during these 60 days.