If You Buy a Game on Steam, Can You Connect With Friends Not on Steam

No, you and your friends generally both need Steam to connect through Steam features. Alien Swarm is a free Valve game that can be a good option if everyone has Steam.