Yes, it is illegal in Washington state and yet, people do it.
Specifically, drivers who are "just running in" to grab a coffee or a pizza or whatever. What they don't understand is even a limited amount of time blocking the view of drivers can be catastrophic.
Parking up to the corner of an intersection is just a really dangerous, selfish thing to do.