Is there friction present outside the earth?That is in space?
Yes, when two surfaces rub together in outer space, there will be friction. Friction is a surface effect and doesn't depend upon there being air. There is also a force like air resistance from the very sparse gas in space, but it will be very, very small, since space is a very good vacuum.
Friction results when two un-smooth surfaces rub against each other - if there is a force normal to those surfaces that is pushing them together.
So, yes, friction can exist in space and on other planets, but a normal acceleration is needed. In most cases that acceleration comes from gravity. For example, we can walk across the ground because our weight produces the normal force that allows the uneven surface between our feet and the ground to produce the friction needed for us to move forward.
I probably should add a clarification for "friction can exist in space" - space itself doesn't have friction - but two moving bodies in space can experience friction between them, if they make contact.