Primary resedence

me and x are doing joint custody of 3yr old son wandering doe he by law have to have primary resedence and if yes what are benfits of this both ways