The visa by itself does not make you a resident in that country: you could have a visa and not use it.
The question is whether you are actually residing in a country different from your citizenship country. If you are studying there, unless it's a very short-term course (often less than 3 months, sometimes up to 6, depending on the country), you would usually be considered a resident there.
Note that for many people, this is actually a positive point: if a country has given you a long-term visa, that usually means they have checked your situation.
However, for some countries (France being one of them, IIRC), you are supposed to apply to the embassy/consulate that covers your place of residence, so if you are not there it makes things more complex.
If you are studying there and are at home for a short time for holidays, then you should probably wait until you are back in your country of residence before applying for the visa.
If you were studying there but have now finished your studies and are back in your home country, you should probably answer no.
As you see, the right answer depends a lot on the specifics, so the more details you provide, the more accurate answers will be.