The problem is that text selection relies on the PDF generation to be done in some kind of sensible fashion. There are so many ways to generate PDFs, and in some of them, the actual text is mangled or its order is mangled before it gets to the PDF generation step itself.
But in general, if you generate the PDF with an authoring tool like LaTeX or InDesign, or if you print to PDF from a webpage or document, it's going to be selectable in a sensible way.