If you live together before marriage or separate from your spouse while married it could effect your alimony
One of the hallmarks of the new law is that the duration of alimony is now based upon the duration of the marriage. The duration of the marriage is counted from the date of the marriage to the date of service of a divorce complaint upon your spouse. The timing of when you file for divorce AND have the complaint