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'
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.