Can you keep yourself for 4 months without sex cos hubby isn't around?

Can you keep yourself for 4 months not having sex cos hubby isn't around?