My inclination is to go with the imperfective when talking about someone who has died, as I think of it in terms of general description about who they were:
“My mother was an amazing woman. She was an excellent teacher, and loved her work.”
Am I correct that the imperfect is most appropriate in this situation? Would putting a time limit trigger the preterite?
“She was a teacher for 20 years, and loved her work.”