Joining the navy?

My husband wants to join the navy so I was wondering because we just bought a house how many of you don’t go with your spouse? And is it hard not going? I would love to live on base with my husband (when this time comes) but then we have a home now to take care of! What’s your opinion to me about what I should do when the time comes about our home, or if I should go with him or stay!