Although it's really not ideal, a month or two shouldn't hurt the snakes as long as they don't have to compete for hides, heat or food. Make sure the enclosure is big enough that you can fit two hides on each end and maybe you'll want to feed them in different enclosures to prevent food competition.
Again, I seriously would advise you to get them separate as soon as possible, but if it's only for a month it won't be too bad as long as you know that they are both healthy and don't carry any parasites (i.e. if you've had them for a while before moving them into this setup). However, for anything over a month and a half I would really only do this as an absolute last resort.