Can a company ask for this info? Yes they can ask for almost anything they want to. What would stop them asking? If you don't want to give them the information then don't.
It’s easy to be pithy and say “well that’s not a place you want to work anyway”, but that’s counter to the reality that many places don’t have a lot of employment options, and people simply need every chance they can get to find a job on merits as opposed to artificial elimination criteria that some incompetent low level HR person came up with.
One of them was 'physical address'. I can't think what law someone would think would mean it was illegal to ask this.
It's not an attitude it was an answer to the question.