The 80-year-old actress' husband of 30 years passed away after battling lung cancer.
Dench said because of her own situation she could relate to her 'The Best Exotic Marigold Hotel' character, who originally travels to India because her husband has just died and she is at a loose end but does not want to impose herself on the children, reported the Daily Express.
"I can understand that because when it happened to me. I did three films, really, really fast, with only a day or so in between. I filmed 'The Shipping News' in Halifax (Nova Scotia) with Kevin Spacey and then I went straight into 'Iris' and then 'The Importance of Being Earnest'.