Spaces are allowed in SSIDs, but not every router will let you use them. You may be able to include spaces by using alt-code, but a stubborn router may make it hard to successfully connect devices.