There is nothing grammatically wrong with that sentence other than the missing punctuation.
There is technically no difference between can not and cannot. Although I'm sure most people would say that cannot is the better word to use. You can also use can't.
I cannot love him.
I can't love him.
I can not love him.
Those are all correct and they're enjoying the lovely rules of grammar.