Kaka was offered a new deal to stay at MLS side Orlando City for 2018 and the club's chief executive, Alex Leitao, has previously suggested the Brazilian would be welcomed back at the club in a different role.
Kaka began his career at Sao Paolo before earning a move to AC Milan where he won the Serie A title and the 2007 Champions League.
A graceful midfielder, Kaka won 92 caps for Brazil, scoring 29 goals and featuring at three World Cups.
A devout Christian, Kaka wrote in a Twitter post on Sunday: "Father, it was much more than I could ever [have] imagined".
I needed a bit of time to think and make my decision with calm.
Winter storm warning continues but worst may be over
Thursday for much of central Pennsylvania, including Centre County, has been issued by the National Weather Service . More chances for snow are possible Friday , but O'Hara said: "I don't think that's going to be very much at all".
Kaka will however not leave the world of football as a whole stating that: "Now, I will prepare to continue in the world of football, but in another role". Thank you and now I'm ready for the next journey. The fact that I've had successes as a professional footballer doesn't mean that I will be a good director or not.
"I would like to join a club as a sports director, someone who stands between the field and the club".
"I went to Europe to see some games and feel the excitement of the game there, [the place] where football really got to its full potential".
"These are things that I will start to prepare myself for". "I made the decision calmly, after consulting people close to me, and I came to the decision that the time has come to end my career as a professional player", 2007's world's best player said.
Having struggled with a series of knee injuries, Kaka returned to Milan for one season in 2013 before leaving for Orlando the following year.