Yes, it's legal, but, IMO, it's not smart. If you are facing seperation there are a number of 'points' she can make in front of a judge after that sale to make it look like you reasons for the sale were...less then legit, anything from you selling before to 'hide marital assets'(yes, even if you give her half the money) to you selling her 'primary mode of transportation' in order to injury her ability to 'make a living', plus dozens of other reasons.

So while technically, this is legal, i wouldn't recommend you do it.