Sia got a huge W in her divorce from her second husband ... his emergency request for full custody of their son was just shot down by a judge. According to court docs, obtained by TMZ ... a judge ruled most of the facts asserted in the legal docs...