Translation:Julia can play but Peter can not sleep.
True. Even more strongly, can not = cannot. In American English, we don't use can not unless we mean "Has the option not to do something". I appreciate the fact that you "accepted" cannot, without marking my answer wrong, but you told me I was missing a space. Cannot instead of can not is a better answer, not a worse one.