I don't think retiring makes a difference. Makelele retired in 2006 but Domenech insisted he wanted him playing, if he was called up (which he was) and the club refused he would be banned for a certain amount of games for his club. Similar situation happened with Ribery in 2014 but I don't think Deschamps bothered calling him up.