How will this work?

My ex hasn't been in my daughter's life for almost 3 years. He lives across the country with his girlfriend and their new daughter. I want to get full custody, but I don't know how this will work. Will him being far away increase my chances of gaining custody? If I lose, will I have to send my daughter across the country? :( has anyone gone through something similar?