A former Coronation Street actress has stressed how a new period drama came to her at a poignant time in her life.