Research at University I'm applying for

How would conducting research at a university I’m applying for affect my chances? Should I pursue getting a letter of recommendation from my lab PI (also an associate professor at the university.