The general advice is that if you're actively shopping for a home most or all of your down payment should be in cash or very low-risk securities.
But no, let's take a loan out against our RSU's so we can get a $1M bi-level because the schools in this district are amazing /s. Now a house in North Carolina is worth as much as one in New Jersey.