In this article, we study an optimization problem for a couple including two breadwinners with uncertain life times. Both breadwinners need to choose the optimal strategies for consumption, investment, housing, and life insurance purchasing to maximize the utility. In this article, the prices of housing assets and investment risky assets are assumed to be correlated. These two breadwinners are considered to have dependent mortality rates to include the breaking heart effect. The method of copula functions is used to construct the joint survival functions of two breadwinners. The analytical solutions of optimal strategies can be achieved, and numerical results are demonstrated.