Hi, I work for a pest control company. Obviously practices will vary from company to company, but due to federal regulations, we all use the same chemicals ....
The spray they will be using is human and pet "friendly". I say friendly, because obviously these are chemicals and you can't say that any chemical is safe if it's meant to kill bugs. :-)
The only trouble you should run into is if your snake comes into direct contact with the sprayed chemicals within the first 2-3 hours after application, depending on how well-ventilated your apartment is. After that, the spray should have dried. The company will likely just spray around the door frame to the hall outside your apartment as well as along any walls that touch the outside.
You can always request from the person who sprays that they give you a sheet detailing the chemicals they're using and any precautions you may need to take--this is the law. They can't refuse to give this to you; it should always be on hand with them.
But again, your snake should be fine. The benefits of spraying (and not dusting) chemicals is the negligible amount of fumes. Just make sure to not let your snake come into direct contact with the areas they spray for a few hours afterwards.