If you and the child's mother don't live together, the right to claim the child goes to the custodial parent. The custodial parent is the parent with whom the child spent the greater number of nights in 2016.
**Answers are correct to the best of my ability but do not constitute tax or legal advice.