No it doesn't matter, but it takes more steps. I'd recommend that you create
a new virtual server on which to install SharePoint if you're installing it
on the same machine running Project Server. Follow the installation guide
for Project Server to install correctly.