Both cannot and can not are acceptable spellings, but the first is much more usual. You would use can not when the 'not' forms part of another construction such as 'not only'
Can't find the answer to your English Language question?Browse Oxford's extensive range of language reference titles, orSend your query to the Oxford Word and Language Service