We did this for four months when he had an internship two thousand miles away from my job. I kept myself busy and we were in frequent contact, so it was manageable.
Then we did something very like it again years later for about six months, when he was hospitalized in another city and I was the "single parent" to our kids. It was difficult, made worse by worry, but like military spouses, I discovered a huge wellspring of strength I could tap as needed. Although he'd been the bill payer and money manager, the lawn mower, the car fixer, I was able to step into all those roles perfectly adequately, while still being a good parent and a loving spouse.
If the marriage is solid and the separation not permanent, you can do this. The easy availability of texting and video chats make it way, way easier than it was when I did it. (OMG, we wrote *letters*!)