The successful coach has been in charge of Zenit since 2009, but has stated that he could have been head coach at the San Siro side if things had gone differently
Current head coach Massimiliano Allegri took the reins at the club in the summer of 2010, but the former Roma boss has claimed that it could have been him sitting on the San Siro bench now.
"It is true that Galliani has contacted me in the past. He asked me whether I was available and open to the idea of becoming Milan's new head coach," Spalletti said in an interview with Sky Sport Italia.
"However, he gave me another call a few days later, asking me to forget about any previous agreements. It was not a problem for me. I am happy to coach wherever people want me."
Zenit were paired with Milan, Anderlecht and Malaga in last week's draw for the group stages of the Champions League.