Yes, you can. If you e-file and your return is rejected it will tell you if it is because the other parent claimed the child on their taxes.