Q.)If we keep a charge somewhere on earth/ then why it doesnt get attracted from other opposite charge placed somewhere else in the world? Would this same argument work for space?
You are assuming the answer is "It doesn't get attracted from other opposite charge placed somewhere else..." and asking us to explain why.
In fact all charges are attracted/repelled by all other charges! Why wouldn't they be? All matter is made of charges and when you place a charge somewhere on Earth it will polarize the matter near it, e.g. the table, the ground, whatever it is near and that will cause attraction too. If you had a +Q charge in NYC and a -Q charge in Hong Kong then in theory they would attract each other. This would be true of a +Q on Earth and a -Q on the Moon. The strength of the attraction would be proportional to $1/r^2$ where $r$ is the distance between the charges. The electrostatic field does go to infinity, it is a long range force, but the strength diminishes with distance so in the limit as r --> infinity F --> 0. Charges an infinite distance away from each other would not affect each other. You may not see or sense the force due to it being weak.
You also have to consider all the other forces acting on the objects. This charge you have would presumably be in a room, a chamber, or something solid. That would potentially prevent it from moving towards (or away from) the other charge even if they were close. So everyone having charged objects lying around will not necessarily cause something to happen that we can see and measure. If you had a +Q object resting on a scale in a lab, in an enclosed box, and you placed a -Q underneath the box you should see the scale read a higher value for the weight due to the +Q being pulled down by the -Q.
I asked this question with my teacher and he said it depends on the charge whether or not its field line would be infinite or may END at some distance. I dont understand it, is there a way to know when will the field END or become zero OR the field is never ending(infinite)?
I honestly do not know how this statement related to you original question. For a free charge in space the fields will go out to infinity. If you have a collection of charges with opposite sign then field lines will leave the +Q and land on the -Q, i.e. they will "terminate". Some field will be detected at infinity due to the distribution of Q's in space, for example the pair {+q, -q} will create a dipole and E will be non-zero far away, but weak. In the presence of a conductor field lines will terminate (originate) on the conducting surface and will be perpendicular to the conductor when all Q's are in equilibrium. But none of this changes the fact the a +Q somewhere (anywhere) will attract a -Q placed somewhere else.