She ____ in Paris for a year when she was offered the job in London.
She ____ in Paris for a year when she was offered the job in London.
Explanation
"Had been living" is used to describe an action that started in the past and continued up until another past event.
In this sentence, she had been living in Paris for a year before being offered the job in London.