Working with a spouse is generally frowned upon. However, there are certain organizations that do accommodate spouses. And there are businesses when it’s founded by both husband and wife.
But there are certain guidelines to be followed.
Be professional at all times:
Have an open communication
Play to your strengths, and leverage your weakness
Your goals and values must be common