I do not mean to be rude or condescending, but there are many aspects of the citizenship application which can be more difficult to understand, more confusing, than questions like "did you live outside Canada?" or instructions like "tell us what you have been doing during your eligibility period." If you really are having some difficulty discerning that visiting the U.S. for a week is not "living" outside Canada, versus overlooking that spending most of a year working in Pakistan undoubtedly constitutes living outside Canada, it would be prudent for you to have someone help you complete the forms. Even if it is just a family member or friend.
As to your questions in particular: no, spending a week somewhere does NOT, not usually anyway, amount to living there. So no, the fact that you visited the U.S. for a week does not mean you should check "yes" in response to item 9.c
But, the fact you were working in Pakistan for a year (or so) during your eligibility period does mean you were living outside Canada during your eligibility period.
There are some conflicting views about how to answer item 9.c in your situation, but in an effort to make it as simple as possible, probably best to simply check "yes," since you were in fact living outside Canada (in Pakistan).
That means you are instructed to also complete and submit the CIT 0177 form. Problem is (I am surmising) the CIT 0177 form is NOT at all relevant for you. So mostly fill in "NA" in that form. Maybe write "NOT a Crown Servant" across it, or "Crown Servant information NOT relevant." And be sure to include the form and check off it is included on the checklist. Some suggest also hand writing "Crown Service Not Relevant" or "Not Applicable" next to item 9.c on the application form itself.
Otherwise, the instructions are to provide work history for the full FIVE years prior to the date you apply (that is, the "eligibility period"). So yes, you provide your work history in Pakistan during 2013. And address history for that period of time. And you should list that absence in the presence calculation even if it pre-dates the first time you were in Canada and "left" Canada.