Jon had been gone for three months before Susan had woken up.
When Susan woke up, Jon had been gone for three months.
Jon had been gone for three months but decided to come back and Susan woke up upon his arrival.