Can you keep your inheritance if you separate?