Can anyone tell me what will happen if both parents try and claim a child? What kind of proof will be needed to show where the child has been residing?

Child has resided with father until he moved in with me in May 2016. I claimed child this year but I think the father is going to try also. What type of proof will I need to proof resistance?