While ethically sympathetic, legally it remains a violation of copyright. The only safe harbor is "Fair Use" (using a short excerpt for review or education), not the entire PDF.
Supporters of sharing OOP (Out of Print) books argue: Chava Pdf Google Drive