Both of you can live in the house during the divorce, and up until it is sold. The divorce court is not likely to make either one of you leave. Your next step is a private consultation with a divorce attorney. Good luck.
Be sure to designate "best answer." Please be aware that each answer on this website is based upon the facts, or lack thereof, provided in the question. To be sure you get complete and comprehensive answers, based upon the totality of your situation, contact a local attorney who specializes in the area of law that involves your legal problem. Diane L. Gruber has been practicing law in Oregon for 27 years, specializing in family law, bankruptcy, estate planning and probate. Note: Diane L. Gruber does not represent you until a written fee agreement has been signed by you and Diane L. Gruber, and the fee listed in the agreement has been paid.
To answer that properly would require more information than you provided.
Under the rules governing the conduct of attorneys in New York it may be necessary to remind you that this answer could be considered attorney advertising.