What is the importance of liquidity in stock selection?

How does liquidity influence the selection and performance of stocks in an investment portfolio?