If my SO is claiming our daughter as a dependent, can i still put her on my taxes and check the box that states the other parent is claiming?

I was told if I do this, then we will be reported for fraud even though I state that the other parent will be claiming my daughter