I've read that short options can be assigned at any time, even if they're not ITM. Is this common?
It's not common for an option to be exercised/assigned when it is out of the money. If you are close to expiration, e.g., one or two days away, and the option is out of the money by only five or ten cents, then it might happen.
If it is the afternoon of expiration, and the stock is trading right around the strike price, e.g., the strike is 180, and the price of the stock is trading in the range of 179.40 to 180.15, then you must assume you are going to get assigned, even if the clock says 3:58:45 and the last sale was 179.62. Your pricing data could be delayed, even if you are paying for professional market data. And a sale could take place in the last few seconds before the market closes, and that sale could be below 180, and you won't know it until the data is registered and displayed after the close. So you have to assume that the option will be ITM, and you should buy to close it. If the price is that close to the strike, then buying to close it should only cost a few bucks.
Assignment of an option that is totally out of the money can indeed happen, and it can happen at any time, but it is not at all common.
Your question about a margin call is more complicated. Yes, you can certainly get a margin call if you get assigned on a put, if you don't have enough money or equity to buy the shares. But the broker can also choose to immediately sell of the shares at the market price to eliminate any risk.
The real risk is not a margin call, but holding the stock overnight if that is not part of your strategy.
Suppose you are short the 180 put and long the 175 put, as in your example.
At expiration, the stock appears to be closing at 180.51, so you take no action, assuming that both legs of your spread will expire worthless. But the official closing price turns out to be 179.94. You get assigned on the 180 put, and the 175 put that you are long expires worthless.
Even if your account is only worth $4,000, and you cannot really afford to buy $18,000 worth of stock, you cannot assume that your broker will take action to limit your losses. You
will buy 100 shares of that stock at 180. You'll get a margin call, and on Monday morning, if you don't deposit money, your broker will
probably sell the stock, and may only tell you about it after it happens.
But you'll be long the stock over the weekend with no hedge. Your long put expired Friday afternoon, at the same time that the short put was assigned.
On Monday morning,
at least in theory, the stock could open at $80 per share (or even lower) on some
reaaaaally bad news. You are then forced to sell the stock at that price, and you just lost $10,000 that you do not have.
BMK