After civil divorce, can one remarry in church? What the law says

After civil divorce, can one remarry in church? What the law says