If you are not the custodial parent, meaning the children are living in your home for over 6 months of the year, you cannot claim them as dependents. You would only be able to claim them as a dependent if the custodial parent gave you a Form 8332 releasing their claim on the children as dependents.