The 48-year-old actor learned William Carroll Smith had been given just six weeks to live at the same time he received the script for the film.
He said it was a "personal and beautiful journey" to play a character dealing with a personal tragedy while going through similar struggles in his real life, reported Contactmusic.
"I got the screenplay right when my father was diagnosed, so I'm doing all of this research about a guy who experiences death at the time that my father was given six weeks (to live).
"This film for me is the most personal and beautiful journey. When art and life comes together in that way and when you create something that could potentially help people get through difficult times, it's fantastic."
Will's father passed away a month ago.
Disclaimer: No Business Standard Journalist was involved in creation of this content