Divorce and 7 months old

Thinking to have a divorce. Not sire what it will look like and do I need to prepare. My plan is to take my child with me overseas. But will the court allow that? Do I have the right for my child until certain age?