If the cause of the divorce occurred outside of Massachusetts, the plaintiff must reside in Massachusetts for at least one year prior to the filing of the action. If the cause of the divorce occurred within Massachusetts, at least one of the parties must be a Massachusetts resident. Where the cause of action occurred and what constitutes “residency” can each be major factors in determining when a party may file for divorce in Massachusetts.