The ex-Manchester United goalkeeper signed on a short-term deal at the end of last term and helped to get the club promoted from the National League during his six-week spell at the club.
Upon returning to the EFL, owners Ryan Reynolds and Rob McElhenney made it clear that they wanted the 40-year-old to stick around given his wealth of experience.
Foster, who has enjoyed throwing himself into his YouTube channel and podcast work since previously retiring last year, reconsidered after the flexibility shown by the Hollywood owners, ultimately signing a one-year deal to stay at the club.
Speaking on The Fellas Podcast, Foster said: "They'd have to be flexible with me with sort of days off basically.
"Like I said earlier I live a couple hours away from Wrexham.
MORE ON WREXHAM
Why Ben Foster is playing for the Rest of the World at Soccer Aid despite being English
Reynolds and McElhenney 'apologise' after scaring fans with 'Wrexham United' announcement
"So if I'm driving to training then that's two hours and then I'll train, and then to get home you've got to get through M6 through birmingham, take you three hours sometimes.
"In the six weeks I did the club were so good with me. They were so flexible. They gave me sort of extra days off.
"We would play on a Saturday, they'd give me Sunday and Monday off.
"I'd train on Tuesday, we'd all have a day off on Wednesday anyway. i'd only be training really three days."