If a couple is married, the federal legislation on divorce applies. If a couple is not married, provincial laws apply when it comes to child custody. So the situation would be different for a married couple going through a divorce and an unmarried couple going through a separation.
On February 11th, 2014. See this statement in context.