Hello and welcome to JustAnswer. Please note: This is general information for educational purposes only and is not legal advice. No specific course of action is proposed herein, and no attorney-client relationship or privilege is formed by speaking to an expert on this site. By continuing, you confirm that you understand and agree to these terms.
Assuming you are not filing based on marriage, the requirements are that:
1) you had to be in the U.S. for a total of 30 months out of the five-year period before the date of your application; 2) you need to have resided continuously in the state where you are filing from (I assume NY) for three months prior to filing, and
3) If you go on a trip, a trip of more than 6 months but less than one year is presumed to break your continuous residence.
Now, you say you have been abroad for 7 months. The presumption is that continuous residence has been broken. To overcome this presumption, you would have to show that even while abroad, you maintained strong links with U.S. This can be shown subjectively as:
-You did not terminate your employment in the U.S. or obtain employment while abroad
-Your immediate family remained in the U.S.
-You maintained a bank account in the U.S.
-You maintained a and/or continued to do business in U.S. while abroad
-You kept a U.S. address.
-and so on.
If this presumption is overcome, then USCIS will allow you to continue your N-400 (citizenship) application. Unfortunately, there is no way to know whether or not the presumption will be overcome until after you file.
Should you choose not to challenge the presumption, or, the presumption is not overcome and your N-400 is denied, then you would have to wait four years and one day after returning to the United States to resume permanent residence. See 8 CFR §316.5(c)(1)(ii).
Regardless, note that you still have to wait to live in NY (or wherever your residence is) for three months (again) prior to filing.
Please note: If I tell you simply what you wish to hear, this would be unfair to you. I need to be honest with you and sometimes this means providing information that is not optimal. Negative ratings are reserved rudeness or wrong information. Please be kind!
I hope this helps and clarifies. Please use the SEND button to keep chatting, or please RATE when finished. You may always ask follow ups at no charge after rating. Kindly rate my answer as one of THREE OR MORE STARS and then click FINISH to submit that rating, as this is how experts get credit for our time. Rating my answer the bottom two stars (or failing to submit the rating) does not give me credit and reflects poorly on me, even if my answer is correct. I work very hard to formulate an informative and honest answer for you; please reciprocate my good faith with a positive rating (it does not cost anything extra to rate).